@aws-sdk/client-cleanrooms 3.461.0 → 3.465.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 (123) hide show
  1. package/README.md +136 -0
  2. package/dist-cjs/CleanRooms.js +34 -0
  3. package/dist-cjs/commands/CreateConfiguredAudienceModelAssociationCommand.js +51 -0
  4. package/dist-cjs/commands/CreatePrivacyBudgetTemplateCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteConfiguredAudienceModelAssociationCommand.js +51 -0
  6. package/dist-cjs/commands/DeletePrivacyBudgetTemplateCommand.js +51 -0
  7. package/dist-cjs/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.js +51 -0
  8. package/dist-cjs/commands/GetCollaborationPrivacyBudgetTemplateCommand.js +51 -0
  9. package/dist-cjs/commands/GetConfiguredAudienceModelAssociationCommand.js +51 -0
  10. package/dist-cjs/commands/GetPrivacyBudgetTemplateCommand.js +51 -0
  11. package/dist-cjs/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.js +51 -0
  12. package/dist-cjs/commands/ListCollaborationPrivacyBudgetTemplatesCommand.js +51 -0
  13. package/dist-cjs/commands/ListCollaborationPrivacyBudgetsCommand.js +51 -0
  14. package/dist-cjs/commands/ListConfiguredAudienceModelAssociationsCommand.js +51 -0
  15. package/dist-cjs/commands/ListPrivacyBudgetTemplatesCommand.js +51 -0
  16. package/dist-cjs/commands/ListPrivacyBudgetsCommand.js +51 -0
  17. package/dist-cjs/commands/PreviewPrivacyImpactCommand.js +51 -0
  18. package/dist-cjs/commands/UpdateConfiguredAudienceModelAssociationCommand.js +51 -0
  19. package/dist-cjs/commands/UpdatePrivacyBudgetTemplateCommand.js +51 -0
  20. package/dist-cjs/commands/index.js +17 -0
  21. package/dist-cjs/models/models_0.js +64 -2
  22. package/dist-cjs/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.js +29 -0
  23. package/dist-cjs/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.js +29 -0
  24. package/dist-cjs/pagination/ListCollaborationPrivacyBudgetsPaginator.js +29 -0
  25. package/dist-cjs/pagination/ListConfiguredAudienceModelAssociationsPaginator.js +29 -0
  26. package/dist-cjs/pagination/ListPrivacyBudgetTemplatesPaginator.js +29 -0
  27. package/dist-cjs/pagination/ListPrivacyBudgetsPaginator.js +29 -0
  28. package/dist-cjs/pagination/index.js +6 -0
  29. package/dist-cjs/protocols/Aws_restJson1.js +1513 -128
  30. package/dist-es/CleanRooms.js +34 -0
  31. package/dist-es/commands/CreateConfiguredAudienceModelAssociationCommand.js +47 -0
  32. package/dist-es/commands/CreatePrivacyBudgetTemplateCommand.js +47 -0
  33. package/dist-es/commands/DeleteConfiguredAudienceModelAssociationCommand.js +47 -0
  34. package/dist-es/commands/DeletePrivacyBudgetTemplateCommand.js +47 -0
  35. package/dist-es/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.js +47 -0
  36. package/dist-es/commands/GetCollaborationPrivacyBudgetTemplateCommand.js +47 -0
  37. package/dist-es/commands/GetConfiguredAudienceModelAssociationCommand.js +47 -0
  38. package/dist-es/commands/GetPrivacyBudgetTemplateCommand.js +47 -0
  39. package/dist-es/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.js +47 -0
  40. package/dist-es/commands/ListCollaborationPrivacyBudgetTemplatesCommand.js +47 -0
  41. package/dist-es/commands/ListCollaborationPrivacyBudgetsCommand.js +47 -0
  42. package/dist-es/commands/ListConfiguredAudienceModelAssociationsCommand.js +47 -0
  43. package/dist-es/commands/ListPrivacyBudgetTemplatesCommand.js +47 -0
  44. package/dist-es/commands/ListPrivacyBudgetsCommand.js +47 -0
  45. package/dist-es/commands/PreviewPrivacyImpactCommand.js +47 -0
  46. package/dist-es/commands/UpdateConfiguredAudienceModelAssociationCommand.js +47 -0
  47. package/dist-es/commands/UpdatePrivacyBudgetTemplateCommand.js +47 -0
  48. package/dist-es/commands/index.js +17 -0
  49. package/dist-es/models/models_0.js +62 -0
  50. package/dist-es/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.js +25 -0
  51. package/dist-es/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.js +25 -0
  52. package/dist-es/pagination/ListCollaborationPrivacyBudgetsPaginator.js +25 -0
  53. package/dist-es/pagination/ListConfiguredAudienceModelAssociationsPaginator.js +25 -0
  54. package/dist-es/pagination/ListPrivacyBudgetTemplatesPaginator.js +25 -0
  55. package/dist-es/pagination/ListPrivacyBudgetsPaginator.js +25 -0
  56. package/dist-es/pagination/index.js +6 -0
  57. package/dist-es/protocols/Aws_restJson1.js +1541 -191
  58. package/dist-types/CleanRooms.d.ts +119 -0
  59. package/dist-types/CleanRoomsClient.d.ts +19 -2
  60. package/dist-types/commands/CreateConfiguredAudienceModelAssociationCommand.d.ts +114 -0
  61. package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +14 -0
  62. package/dist-types/commands/CreatePrivacyBudgetTemplateCommand.d.ts +119 -0
  63. package/dist-types/commands/DeleteConfiguredAudienceModelAssociationCommand.d.ts +87 -0
  64. package/dist-types/commands/DeletePrivacyBudgetTemplateCommand.d.ts +87 -0
  65. package/dist-types/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.d.ts +100 -0
  66. package/dist-types/commands/GetCollaborationPrivacyBudgetTemplateCommand.d.ts +105 -0
  67. package/dist-types/commands/GetConfiguredAudienceModelAssociationCommand.d.ts +102 -0
  68. package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +7 -0
  69. package/dist-types/commands/GetPrivacyBudgetTemplateCommand.d.ts +106 -0
  70. package/dist-types/commands/GetProtectedQueryCommand.d.ts +11 -0
  71. package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +7 -0
  72. package/dist-types/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.d.ts +103 -0
  73. package/dist-types/commands/ListCollaborationPrivacyBudgetTemplatesCommand.d.ts +102 -0
  74. package/dist-types/commands/ListCollaborationPrivacyBudgetsCommand.d.ts +116 -0
  75. package/dist-types/commands/ListConfiguredAudienceModelAssociationsCommand.d.ts +105 -0
  76. package/dist-types/commands/ListPrivacyBudgetTemplatesCommand.d.ts +103 -0
  77. package/dist-types/commands/ListPrivacyBudgetsCommand.d.ts +117 -0
  78. package/dist-types/commands/PreviewPrivacyImpactCommand.d.ts +103 -0
  79. package/dist-types/commands/StartProtectedQueryCommand.d.ts +11 -0
  80. package/dist-types/commands/UpdateConfiguredAudienceModelAssociationCommand.d.ts +104 -0
  81. package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +14 -0
  82. package/dist-types/commands/UpdatePrivacyBudgetTemplateCommand.d.ts +116 -0
  83. package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +11 -0
  84. package/dist-types/commands/index.d.ts +17 -0
  85. package/dist-types/models/models_0.d.ts +2605 -1044
  86. package/dist-types/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListCollaborationPrivacyBudgetsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListConfiguredAudienceModelAssociationsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListPrivacyBudgetTemplatesPaginator.d.ts +7 -0
  91. package/dist-types/pagination/ListPrivacyBudgetsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/index.d.ts +6 -0
  93. package/dist-types/protocols/Aws_restJson1.d.ts +153 -0
  94. package/dist-types/ts3.4/CleanRooms.d.ts +343 -0
  95. package/dist-types/ts3.4/CleanRoomsClient.d.ts +102 -0
  96. package/dist-types/ts3.4/commands/CreateConfiguredAudienceModelAssociationCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/CreatePrivacyBudgetTemplateCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelAssociationCommand.d.ts +42 -0
  99. package/dist-types/ts3.4/commands/DeletePrivacyBudgetTemplateCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.d.ts +44 -0
  101. package/dist-types/ts3.4/commands/GetCollaborationPrivacyBudgetTemplateCommand.d.ts +42 -0
  102. package/dist-types/ts3.4/commands/GetConfiguredAudienceModelAssociationCommand.d.ts +42 -0
  103. package/dist-types/ts3.4/commands/GetPrivacyBudgetTemplateCommand.d.ts +42 -0
  104. package/dist-types/ts3.4/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.d.ts +44 -0
  105. package/dist-types/ts3.4/commands/ListCollaborationPrivacyBudgetTemplatesCommand.d.ts +42 -0
  106. package/dist-types/ts3.4/commands/ListCollaborationPrivacyBudgetsCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/ListConfiguredAudienceModelAssociationsCommand.d.ts +42 -0
  108. package/dist-types/ts3.4/commands/ListPrivacyBudgetTemplatesCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/ListPrivacyBudgetsCommand.d.ts +39 -0
  110. package/dist-types/ts3.4/commands/PreviewPrivacyImpactCommand.d.ts +42 -0
  111. package/dist-types/ts3.4/commands/UpdateConfiguredAudienceModelAssociationCommand.d.ts +42 -0
  112. package/dist-types/ts3.4/commands/UpdatePrivacyBudgetTemplateCommand.d.ts +42 -0
  113. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  114. package/dist-types/ts3.4/models/models_0.d.ts +477 -0
  115. package/dist-types/ts3.4/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.d.ts +11 -0
  116. package/dist-types/ts3.4/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.d.ts +11 -0
  117. package/dist-types/ts3.4/pagination/ListCollaborationPrivacyBudgetsPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/ListConfiguredAudienceModelAssociationsPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/ListPrivacyBudgetTemplatesPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/ListPrivacyBudgetsPaginator.d.ts +11 -0
  121. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  122. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +204 -0
  123. package/package.json +14 -16
@@ -260,10 +260,32 @@ export interface AnalysisRuleAggregation {
260
260
  */
261
261
  outputConstraints: AggregationConstraint[] | undefined;
262
262
  }
263
+ /**
264
+ * @public
265
+ * <p>Specifies the name of the column that contains the unique identifier of your users, whose privacy you want to protect.</p>
266
+ */
267
+ export interface DifferentialPrivacyColumn {
268
+ /**
269
+ * @public
270
+ * <p>The name of the column, such as user_id, that contains the unique identifier of your users, whose privacy you want to protect. If you want to turn on differential privacy for two or more tables in a collaboration, you must configure the same column as the user identifier column in both analysis rules.</p>
271
+ */
272
+ name: string | undefined;
273
+ }
274
+ /**
275
+ * @public
276
+ * <p>Specifies the unique identifier for your users.</p>
277
+ */
278
+ export interface DifferentialPrivacyConfiguration {
279
+ /**
280
+ * @public
281
+ * <p>The name of the column (such as user_id) that contains the unique identifier of your users whose privacy you want to protect. If you want to turn on differential privacy for two or more tables in a collaboration, you must configure the same column as the user identifier column in both analysis rules.</p>
282
+ */
283
+ columns: DifferentialPrivacyColumn[] | undefined;
284
+ }
263
285
  /**
264
286
  * @public
265
287
  * <p>A type of analysis rule that enables the table owner to approve custom SQL queries on
266
- * their configured tables.</p>
288
+ * their configured tables. It supports differential privacy.</p>
267
289
  */
268
290
  export interface AnalysisRuleCustom {
269
291
  /**
@@ -277,6 +299,11 @@ export interface AnalysisRuleCustom {
277
299
  * <code>allowedAnalyses</code> is <code>ANY_QUERY</code>.</p>
278
300
  */
279
301
  allowedAnalysisProviders?: string[];
302
+ /**
303
+ * @public
304
+ * <p>The differential privacy configuration.</p>
305
+ */
306
+ differentialPrivacy?: DifferentialPrivacyConfiguration;
280
307
  }
281
308
  /**
282
309
  * @public
@@ -1600,6 +1627,240 @@ export interface GetCollaborationAnalysisTemplateOutput {
1600
1627
  */
1601
1628
  collaborationAnalysisTemplate: CollaborationAnalysisTemplate | undefined;
1602
1629
  }
1630
+ /**
1631
+ * @public
1632
+ */
1633
+ export interface GetCollaborationConfiguredAudienceModelAssociationInput {
1634
+ /**
1635
+ * @public
1636
+ * <p>A unique identifier for the collaboration that the configured audience model association belongs to. Accepts a collaboration ID.</p>
1637
+ */
1638
+ collaborationIdentifier: string | undefined;
1639
+ /**
1640
+ * @public
1641
+ * <p>A unique identifier for the configured audience model association that you want to retrieve.</p>
1642
+ */
1643
+ configuredAudienceModelAssociationIdentifier: string | undefined;
1644
+ }
1645
+ /**
1646
+ * @public
1647
+ * <p>The configured audience model association within a collaboration.</p>
1648
+ */
1649
+ export interface CollaborationConfiguredAudienceModelAssociation {
1650
+ /**
1651
+ * @public
1652
+ * <p>The identifier of the configured audience model association.</p>
1653
+ */
1654
+ id: string | undefined;
1655
+ /**
1656
+ * @public
1657
+ * <p>The Amazon Resource Name (ARN) of the configured audience model association.</p>
1658
+ */
1659
+ arn: string | undefined;
1660
+ /**
1661
+ * @public
1662
+ * <p>A unique identifier for the collaboration that the configured audience model associations belong to. Accepts collaboration ID.</p>
1663
+ */
1664
+ collaborationId: string | undefined;
1665
+ /**
1666
+ * @public
1667
+ * <p>The unique ARN for the configured audience model's associated collaboration.</p>
1668
+ */
1669
+ collaborationArn: string | undefined;
1670
+ /**
1671
+ * @public
1672
+ * <p>The Amazon Resource Name (ARN) of the configure audience model.</p>
1673
+ */
1674
+ configuredAudienceModelArn: string | undefined;
1675
+ /**
1676
+ * @public
1677
+ * <p>The name of the configured audience model association.</p>
1678
+ */
1679
+ name: string | undefined;
1680
+ /**
1681
+ * @public
1682
+ * <p>The description of the configured audience model association.</p>
1683
+ */
1684
+ description?: string;
1685
+ /**
1686
+ * @public
1687
+ * <p>The identifier used to reference members of the collaboration. Only supports AWS account ID.</p>
1688
+ */
1689
+ creatorAccountId: string | undefined;
1690
+ /**
1691
+ * @public
1692
+ * <p>The time at which the configured audience model association was created.</p>
1693
+ */
1694
+ createTime: Date | undefined;
1695
+ /**
1696
+ * @public
1697
+ * <p>The most recent time at which the configured audience model association was updated.</p>
1698
+ */
1699
+ updateTime: Date | undefined;
1700
+ }
1701
+ /**
1702
+ * @public
1703
+ */
1704
+ export interface GetCollaborationConfiguredAudienceModelAssociationOutput {
1705
+ /**
1706
+ * @public
1707
+ * <p>The metadata of the configured audience model association.</p>
1708
+ */
1709
+ collaborationConfiguredAudienceModelAssociation: CollaborationConfiguredAudienceModelAssociation | undefined;
1710
+ }
1711
+ /**
1712
+ * @public
1713
+ */
1714
+ export interface GetCollaborationPrivacyBudgetTemplateInput {
1715
+ /**
1716
+ * @public
1717
+ * <p>A unique identifier for one of your collaborations.</p>
1718
+ */
1719
+ collaborationIdentifier: string | undefined;
1720
+ /**
1721
+ * @public
1722
+ * <p>A unique identifier for one of your privacy budget templates.</p>
1723
+ */
1724
+ privacyBudgetTemplateIdentifier: string | undefined;
1725
+ }
1726
+ /**
1727
+ * @public
1728
+ * @enum
1729
+ */
1730
+ export declare const PrivacyBudgetTemplateAutoRefresh: {
1731
+ readonly CALENDAR_MONTH: "CALENDAR_MONTH";
1732
+ readonly NONE: "NONE";
1733
+ };
1734
+ /**
1735
+ * @public
1736
+ */
1737
+ export type PrivacyBudgetTemplateAutoRefresh = (typeof PrivacyBudgetTemplateAutoRefresh)[keyof typeof PrivacyBudgetTemplateAutoRefresh];
1738
+ /**
1739
+ * @public
1740
+ * <p>The epsilon and noise parameter values that were used for the differential privacy template.</p>
1741
+ */
1742
+ export interface DifferentialPrivacyTemplateParametersOutput {
1743
+ /**
1744
+ * @public
1745
+ * <p>The epsilon value that you specified.</p>
1746
+ */
1747
+ epsilon: number | undefined;
1748
+ /**
1749
+ * @public
1750
+ * <p>Noise added per query is measured in terms of the number of users whose contributions you want to obscure. This value governs the rate at which the privacy budget is depleted.</p>
1751
+ */
1752
+ usersNoisePerQuery: number | undefined;
1753
+ }
1754
+ /**
1755
+ * @public
1756
+ * <p>The epsilon and noise parameters that were used in the privacy budget template.</p>
1757
+ */
1758
+ export type PrivacyBudgetTemplateParametersOutput = PrivacyBudgetTemplateParametersOutput.DifferentialPrivacyMember | PrivacyBudgetTemplateParametersOutput.$UnknownMember;
1759
+ /**
1760
+ * @public
1761
+ */
1762
+ export declare namespace PrivacyBudgetTemplateParametersOutput {
1763
+ /**
1764
+ * @public
1765
+ * <p>The epsilon and noise parameters.</p>
1766
+ */
1767
+ interface DifferentialPrivacyMember {
1768
+ differentialPrivacy: DifferentialPrivacyTemplateParametersOutput;
1769
+ $unknown?: never;
1770
+ }
1771
+ /**
1772
+ * @public
1773
+ */
1774
+ interface $UnknownMember {
1775
+ differentialPrivacy?: never;
1776
+ $unknown: [string, any];
1777
+ }
1778
+ interface Visitor<T> {
1779
+ differentialPrivacy: (value: DifferentialPrivacyTemplateParametersOutput) => T;
1780
+ _: (name: string, value: any) => T;
1781
+ }
1782
+ const visit: <T>(value: PrivacyBudgetTemplateParametersOutput, visitor: Visitor<T>) => T;
1783
+ }
1784
+ /**
1785
+ * @public
1786
+ * @enum
1787
+ */
1788
+ export declare const PrivacyBudgetType: {
1789
+ readonly DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY";
1790
+ };
1791
+ /**
1792
+ * @public
1793
+ */
1794
+ export type PrivacyBudgetType = (typeof PrivacyBudgetType)[keyof typeof PrivacyBudgetType];
1795
+ /**
1796
+ * @public
1797
+ * <p>An array that specifies the information for a collaboration's privacy budget template.</p>
1798
+ */
1799
+ export interface CollaborationPrivacyBudgetTemplate {
1800
+ /**
1801
+ * @public
1802
+ * <p>The unique identifier of the collaboration privacy budget template.</p>
1803
+ */
1804
+ id: string | undefined;
1805
+ /**
1806
+ * @public
1807
+ * <p>The ARN of the collaboration privacy budget template.</p>
1808
+ */
1809
+ arn: string | undefined;
1810
+ /**
1811
+ * @public
1812
+ * <p>The unique identifier of the collaboration that includes this collaboration privacy budget template.</p>
1813
+ */
1814
+ collaborationId: string | undefined;
1815
+ /**
1816
+ * @public
1817
+ * <p>The ARN of the collaboration that includes this collaboration privacy budget template.</p>
1818
+ */
1819
+ collaborationArn: string | undefined;
1820
+ /**
1821
+ * @public
1822
+ * <p>The unique identifier of the account that created this collaboration privacy budget template.</p>
1823
+ */
1824
+ creatorAccountId: string | undefined;
1825
+ /**
1826
+ * @public
1827
+ * <p>The time at which the collaboration privacy budget template was created.</p>
1828
+ */
1829
+ createTime: Date | undefined;
1830
+ /**
1831
+ * @public
1832
+ * <p>The most recent time at which the collaboration privacy budget template was updated.</p>
1833
+ */
1834
+ updateTime: Date | undefined;
1835
+ /**
1836
+ * @public
1837
+ * <p>The type of privacy budget template.</p>
1838
+ */
1839
+ privacyBudgetType: PrivacyBudgetType | undefined;
1840
+ /**
1841
+ * @public
1842
+ * <p>How often the privacy budget refreshes.</p>
1843
+ * <important>
1844
+ * <p>If you plan to regularly bring new data into the collaboration, use <code>CALENDAR_MONTH</code> to automatically get a new privacy budget for the collaboration every calendar month. Choosing this option allows arbitrary amounts of information to be revealed about rows of the data when repeatedly queried across refreshes. Avoid choosing this if the same rows will be repeatedly queried between privacy budget refreshes.</p>
1845
+ * </important>
1846
+ */
1847
+ autoRefresh: PrivacyBudgetTemplateAutoRefresh | undefined;
1848
+ /**
1849
+ * @public
1850
+ * <p>Specifies the epsilon and noise parameters for the privacy budget template.</p>
1851
+ */
1852
+ parameters: PrivacyBudgetTemplateParametersOutput | undefined;
1853
+ }
1854
+ /**
1855
+ * @public
1856
+ */
1857
+ export interface GetCollaborationPrivacyBudgetTemplateOutput {
1858
+ /**
1859
+ * @public
1860
+ * <p>Returns the details of the privacy budget template that you requested.</p>
1861
+ */
1862
+ collaborationPrivacyBudgetTemplate: CollaborationPrivacyBudgetTemplate | undefined;
1863
+ }
1603
1864
  /**
1604
1865
  * @public
1605
1866
  */
@@ -1751,296 +2012,267 @@ export interface ListCollaborationAnalysisTemplatesOutput {
1751
2012
  */
1752
2013
  collaborationAnalysisTemplateSummaries: CollaborationAnalysisTemplateSummary[] | undefined;
1753
2014
  }
1754
- /**
1755
- * @public
1756
- * @enum
1757
- */
1758
- export declare const FilterableMemberStatus: {
1759
- readonly ACTIVE: "ACTIVE";
1760
- readonly INVITED: "INVITED";
1761
- };
1762
- /**
1763
- * @public
1764
- */
1765
- export type FilterableMemberStatus = (typeof FilterableMemberStatus)[keyof typeof FilterableMemberStatus];
1766
2015
  /**
1767
2016
  * @public
1768
2017
  */
1769
- export interface ListCollaborationsInput {
2018
+ export interface ListCollaborationConfiguredAudienceModelAssociationsInput {
1770
2019
  /**
1771
2020
  * @public
1772
- * <p>The token value retrieved from a previous call to access the next page of
1773
- * results.</p>
2021
+ * <p>A unique identifier for the collaboration that the configured audience model association belongs to. Accepts a collaboration ID.</p>
1774
2022
  */
1775
- nextToken?: string;
2023
+ collaborationIdentifier: string | undefined;
1776
2024
  /**
1777
2025
  * @public
1778
- * <p>The maximum size of the results that is returned per call. Service chooses a default if
1779
- * it has not been set. Service may return a nextToken even if the maximum results has not
1780
- * been met.</p>
2026
+ * <p>The token value retrieved from a previous call to access the next page of results.</p>
1781
2027
  */
1782
- maxResults?: number;
2028
+ nextToken?: string;
1783
2029
  /**
1784
2030
  * @public
1785
- * <p>The caller's status in a collaboration.</p>
2031
+ * <p>The maximum size of the results that is returned per call.</p>
1786
2032
  */
1787
- memberStatus?: FilterableMemberStatus;
2033
+ maxResults?: number;
1788
2034
  }
1789
2035
  /**
1790
2036
  * @public
1791
- * <p>The metadata of the collaboration.</p>
2037
+ * <p>A summary of the configured audience model association in the collaboration.</p>
1792
2038
  */
1793
- export interface CollaborationSummary {
1794
- /**
1795
- * @public
1796
- * <p>The identifier for the collaboration.</p>
1797
- */
1798
- id: string | undefined;
2039
+ export interface CollaborationConfiguredAudienceModelAssociationSummary {
1799
2040
  /**
1800
2041
  * @public
1801
- * <p>The ARN of the collaboration.</p>
2042
+ * <p>The Amazon Resource Name (ARN) of the configured audience model association.</p>
1802
2043
  */
1803
2044
  arn: string | undefined;
1804
2045
  /**
1805
2046
  * @public
1806
- * <p>A human-readable identifier provided by the collaboration owner. Display names are not
1807
- * unique.</p>
2047
+ * <p>The time at which the configured audience model association was created.</p>
1808
2048
  */
1809
- name: string | undefined;
2049
+ createTime: Date | undefined;
1810
2050
  /**
1811
2051
  * @public
1812
- * <p>The identifier used to reference members of the collaboration. Currently only supports
1813
- * Amazon Web Services account ID.</p>
2052
+ * <p>The identifier of the configured audience model association.</p>
1814
2053
  */
1815
- creatorAccountId: string | undefined;
2054
+ id: string | undefined;
1816
2055
  /**
1817
2056
  * @public
1818
- * <p>The display name of the collaboration creator.</p>
2057
+ * <p>The name of the configured audience model association.</p>
1819
2058
  */
1820
- creatorDisplayName: string | undefined;
2059
+ name: string | undefined;
1821
2060
  /**
1822
2061
  * @public
1823
- * <p>The time when the collaboration was created.</p>
2062
+ * <p>The most recent time at which the configured audience model association was updated.</p>
1824
2063
  */
1825
- createTime: Date | undefined;
2064
+ updateTime: Date | undefined;
1826
2065
  /**
1827
2066
  * @public
1828
- * <p>The time the collaboration metadata was last updated.</p>
2067
+ * <p>The unique ARN for the configured audience model's associated collaboration.</p>
1829
2068
  */
1830
- updateTime: Date | undefined;
2069
+ collaborationArn: string | undefined;
1831
2070
  /**
1832
2071
  * @public
1833
- * <p>The status of a member in a collaboration.</p>
2072
+ * <p>A unique identifier for the collaboration that the configured audience model associations belong to. Accepts collaboration ID.</p>
1834
2073
  */
1835
- memberStatus: MemberStatus | undefined;
2074
+ collaborationId: string | undefined;
1836
2075
  /**
1837
2076
  * @public
1838
- * <p>The identifier of a member in a collaboration.</p>
2077
+ * <p>The identifier used to reference members of the collaboration. Only supports AWS account ID.</p>
1839
2078
  */
1840
- membershipId?: string;
2079
+ creatorAccountId: string | undefined;
1841
2080
  /**
1842
2081
  * @public
1843
- * <p>The ARN of a member in a collaboration.</p>
2082
+ * <p>The description of the configured audience model association.</p>
1844
2083
  */
1845
- membershipArn?: string;
2084
+ description?: string;
1846
2085
  }
1847
2086
  /**
1848
2087
  * @public
1849
2088
  */
1850
- export interface ListCollaborationsOutput {
2089
+ export interface ListCollaborationConfiguredAudienceModelAssociationsOutput {
1851
2090
  /**
1852
2091
  * @public
1853
- * <p>The token value retrieved from a previous call to access the next page of
1854
- * results.</p>
2092
+ * <p>The metadata of the configured audience model association within a collaboration.</p>
1855
2093
  */
1856
- nextToken?: string;
2094
+ collaborationConfiguredAudienceModelAssociationSummaries: CollaborationConfiguredAudienceModelAssociationSummary[] | undefined;
1857
2095
  /**
1858
2096
  * @public
1859
- * <p>The list of collaborations.</p>
2097
+ * <p>The token value retrieved from a previous call to access the next page of results.</p>
1860
2098
  */
1861
- collaborationList: CollaborationSummary[] | undefined;
2099
+ nextToken?: string;
1862
2100
  }
1863
2101
  /**
1864
2102
  * @public
1865
2103
  */
1866
- export interface ListMembersInput {
2104
+ export interface ListCollaborationPrivacyBudgetsInput {
1867
2105
  /**
1868
2106
  * @public
1869
- * <p>The identifier of the collaboration in which the members are listed.</p>
2107
+ * <p>A unique identifier for one of your collaborations.</p>
1870
2108
  */
1871
2109
  collaborationIdentifier: string | undefined;
1872
2110
  /**
1873
2111
  * @public
1874
- * <p>The token value retrieved from a previous call to access the next page of
1875
- * results.</p>
2112
+ * <p>Specifies the type of the privacy budget.</p>
1876
2113
  */
1877
- nextToken?: string;
2114
+ privacyBudgetType: PrivacyBudgetType | undefined;
1878
2115
  /**
1879
2116
  * @public
1880
- * <p>The maximum size of the results that is returned per call.</p>
2117
+ * <p>The maximum size of the results that is returned per call. Service chooses a default if
2118
+ * it has not been set. Service may return a nextToken even if the maximum results has not
2119
+ * been met.</p>
1881
2120
  */
1882
2121
  maxResults?: number;
2122
+ /**
2123
+ * @public
2124
+ * <p>The token value retrieved from a previous call to access the next page of
2125
+ * results.</p>
2126
+ */
2127
+ nextToken?: string;
1883
2128
  }
1884
2129
  /**
1885
2130
  * @public
1886
- * <p>The member object listed by the request.</p>
2131
+ * @enum
1887
2132
  */
1888
- export interface MemberSummary {
1889
- /**
1890
- * @public
1891
- * <p>The identifier used to reference members of the collaboration. Currently only supports
1892
- * Amazon Web Services account ID.</p>
1893
- */
1894
- accountId: string | undefined;
1895
- /**
1896
- * @public
1897
- * <p>The status of the member.
1898
- * </p>
1899
- */
1900
- status: MemberStatus | undefined;
1901
- /**
1902
- * @public
1903
- * <p>The member's display name.</p>
1904
- */
1905
- displayName: string | undefined;
1906
- /**
1907
- * @public
1908
- * <p>The abilities granted to the collaboration member.</p>
1909
- */
1910
- abilities: MemberAbility[] | undefined;
2133
+ export declare const DifferentialPrivacyAggregationType: {
2134
+ readonly AVG: "AVG";
2135
+ readonly COUNT: "COUNT";
2136
+ readonly COUNT_DISTINCT: "COUNT_DISTINCT";
2137
+ readonly STDDEV: "STDDEV";
2138
+ readonly SUM: "SUM";
2139
+ };
2140
+ /**
2141
+ * @public
2142
+ */
2143
+ export type DifferentialPrivacyAggregationType = (typeof DifferentialPrivacyAggregationType)[keyof typeof DifferentialPrivacyAggregationType];
2144
+ /**
2145
+ * @public
2146
+ * <p>Information about the total number of aggregations, as well as the remaining aggregations.</p>
2147
+ */
2148
+ export interface DifferentialPrivacyPrivacyBudgetAggregation {
1911
2149
  /**
1912
2150
  * @public
1913
- * <p>The time when the member was created.</p>
2151
+ * <p>The different types of aggregation functions that you can perform.</p>
1914
2152
  */
1915
- createTime: Date | undefined;
2153
+ type: DifferentialPrivacyAggregationType | undefined;
1916
2154
  /**
1917
2155
  * @public
1918
- * <p>The time the member metadata was last updated.</p>
2156
+ * <p>The maximum number of aggregation functions that you can perform with the given privacy budget.</p>
1919
2157
  */
1920
- updateTime: Date | undefined;
2158
+ maxCount: number | undefined;
1921
2159
  /**
1922
2160
  * @public
1923
- * <p>The unique ID for the member's associated membership, if present.</p>
2161
+ * <p>The remaining number of aggregation functions that can be run with the available privacy budget.</p>
1924
2162
  */
1925
- membershipId?: string;
2163
+ remainingCount: number | undefined;
2164
+ }
2165
+ /**
2166
+ * @public
2167
+ * <p>Specifies the configured epsilon value and the utility in terms of total aggregations, as well as the remaining aggregations available.</p>
2168
+ */
2169
+ export interface DifferentialPrivacyPrivacyBudget {
1926
2170
  /**
1927
2171
  * @public
1928
- * <p>The unique ARN for the member's associated membership, if present.</p>
2172
+ * <p>This information includes the configured epsilon value and the utility in terms of total aggregations, as well as the remaining aggregations.</p>
1929
2173
  */
1930
- membershipArn?: string;
2174
+ aggregations: DifferentialPrivacyPrivacyBudgetAggregation[] | undefined;
1931
2175
  /**
1932
2176
  * @public
1933
- * <p>The collaboration
1934
- * member's payment responsibilities set by the collaboration creator.
1935
- * </p>
2177
+ * <p>The epsilon value that you configured.</p>
1936
2178
  */
1937
- paymentConfiguration: PaymentConfiguration | undefined;
2179
+ epsilon: number | undefined;
1938
2180
  }
1939
2181
  /**
1940
2182
  * @public
2183
+ * <p>The epsilon parameter value and number of each aggregation function that you can perform.</p>
1941
2184
  */
1942
- export interface ListMembersOutput {
2185
+ export type PrivacyBudget = PrivacyBudget.DifferentialPrivacyMember | PrivacyBudget.$UnknownMember;
2186
+ /**
2187
+ * @public
2188
+ */
2189
+ export declare namespace PrivacyBudget {
1943
2190
  /**
1944
2191
  * @public
1945
- * <p>The token value retrieved from a previous call to access the next page of
1946
- * results.</p>
2192
+ * <p>An object that specifies the epsilon parameter and the utility in terms of total aggregations, as well as the remaining aggregations available.</p>
1947
2193
  */
1948
- nextToken?: string;
2194
+ interface DifferentialPrivacyMember {
2195
+ differentialPrivacy: DifferentialPrivacyPrivacyBudget;
2196
+ $unknown?: never;
2197
+ }
1949
2198
  /**
1950
2199
  * @public
1951
- * <p>The list of members returned by the ListMembers operation.</p>
1952
2200
  */
1953
- memberSummaries: MemberSummary[] | undefined;
2201
+ interface $UnknownMember {
2202
+ differentialPrivacy?: never;
2203
+ $unknown: [string, any];
2204
+ }
2205
+ interface Visitor<T> {
2206
+ differentialPrivacy: (value: DifferentialPrivacyPrivacyBudget) => T;
2207
+ _: (name: string, value: any) => T;
2208
+ }
2209
+ const visit: <T>(value: PrivacyBudget, visitor: Visitor<T>) => T;
1954
2210
  }
1955
2211
  /**
1956
2212
  * @public
2213
+ * <p>A summary of the collaboration privacy budgets. This summary includes the collaboration information, creation information, epsilon provided, and utility in terms of aggregations.</p>
1957
2214
  */
1958
- export interface ListSchemasInput {
2215
+ export interface CollaborationPrivacyBudgetSummary {
1959
2216
  /**
1960
2217
  * @public
1961
- * <p>A unique identifier for the collaboration that the schema belongs to. Currently accepts
1962
- * a collaboration ID.</p>
2218
+ * <p>The unique identifier of the collaboration privacy budget.</p>
1963
2219
  */
1964
- collaborationIdentifier: string | undefined;
2220
+ id: string | undefined;
1965
2221
  /**
1966
2222
  * @public
1967
- * <p>If present, filter schemas by schema type. The only valid schema type is currently
1968
- * `TABLE`.</p>
2223
+ * <p>The unique identifier of the collaboration privacy budget template.</p>
1969
2224
  */
1970
- schemaType?: SchemaType;
2225
+ privacyBudgetTemplateId: string | undefined;
1971
2226
  /**
1972
2227
  * @public
1973
- * <p>The token value retrieved from a previous call to access the next page of
1974
- * results.</p>
2228
+ * <p>The ARN of the collaboration privacy budget template.</p>
1975
2229
  */
1976
- nextToken?: string;
2230
+ privacyBudgetTemplateArn: string | undefined;
1977
2231
  /**
1978
2232
  * @public
1979
- * <p>The maximum size of the results that is returned per call.</p>
2233
+ * <p>The unique identifier of the collaboration that includes this privacy budget.</p>
1980
2234
  */
1981
- maxResults?: number;
1982
- }
1983
- /**
1984
- * @public
1985
- * <p>The schema summary for the objects listed by the request.</p>
1986
- */
1987
- export interface SchemaSummary {
2235
+ collaborationId: string | undefined;
1988
2236
  /**
1989
2237
  * @public
1990
- * <p>The name for the schema object.</p>
2238
+ * <p>The ARN of the collaboration that includes this privacy budget.</p>
1991
2239
  */
1992
- name: string | undefined;
2240
+ collaborationArn: string | undefined;
1993
2241
  /**
1994
2242
  * @public
1995
- * <p>The type of schema object. The only valid schema type is currently `TABLE`.</p>
2243
+ * <p>The unique identifier of the account that created this privacy budget.</p>
1996
2244
  */
1997
- type: SchemaType | undefined;
2245
+ creatorAccountId: string | undefined;
1998
2246
  /**
1999
2247
  * @public
2000
- * <p>The unique account ID for the Amazon Web Services account that owns the schema.</p>
2248
+ * <p>The type of privacy budget template.</p>
2001
2249
  */
2002
- creatorAccountId: string | undefined;
2250
+ type: PrivacyBudgetType | undefined;
2003
2251
  /**
2004
2252
  * @public
2005
- * <p>The time the schema object was created.</p>
2253
+ * <p>The time at which the privacy budget was created.</p>
2006
2254
  */
2007
2255
  createTime: Date | undefined;
2008
2256
  /**
2009
2257
  * @public
2010
- * <p>The time the schema object was last updated.</p>
2258
+ * <p>The most recent time at which the privacy budget was updated.</p>
2011
2259
  */
2012
2260
  updateTime: Date | undefined;
2013
2261
  /**
2014
2262
  * @public
2015
- * <p>The unique ID for the collaboration that the schema belongs to.</p>
2016
- */
2017
- collaborationId: string | undefined;
2018
- /**
2019
- * @public
2020
- * <p>The unique ARN for the collaboration that the schema belongs to.</p>
2021
- */
2022
- collaborationArn: string | undefined;
2023
- /**
2024
- * @public
2025
- * <p>The types of analysis rules that are associated with this schema object.</p>
2026
- */
2027
- analysisRuleTypes: AnalysisRuleType[] | undefined;
2028
- /**
2029
- * @public
2030
- * <p>The analysis method for the associated schema. The only valid value is currently
2031
- * `DIRECT_QUERY`.</p>
2263
+ * <p>The includes epsilon provided and utility in terms of aggregations.</p>
2032
2264
  */
2033
- analysisMethod?: AnalysisMethod;
2265
+ budget: PrivacyBudget | undefined;
2034
2266
  }
2035
2267
  /**
2036
2268
  * @public
2037
2269
  */
2038
- export interface ListSchemasOutput {
2270
+ export interface ListCollaborationPrivacyBudgetsOutput {
2039
2271
  /**
2040
2272
  * @public
2041
- * <p>The retrieved list of schemas.</p>
2273
+ * <p>Summaries of the collaboration privacy budgets.</p>
2042
2274
  */
2043
- schemaSummaries: SchemaSummary[] | undefined;
2275
+ collaborationPrivacyBudgetSummaries: CollaborationPrivacyBudgetSummary[] | undefined;
2044
2276
  /**
2045
2277
  * @public
2046
2278
  * <p>The token value retrieved from a previous call to access the next page of
@@ -2051,207 +2283,206 @@ export interface ListSchemasOutput {
2051
2283
  /**
2052
2284
  * @public
2053
2285
  */
2054
- export interface UpdateCollaborationInput {
2286
+ export interface ListCollaborationPrivacyBudgetTemplatesInput {
2055
2287
  /**
2056
2288
  * @public
2057
- * <p>The identifier for the collaboration.</p>
2289
+ * <p>A unique identifier for one of your collaborations.</p>
2058
2290
  */
2059
2291
  collaborationIdentifier: string | undefined;
2060
2292
  /**
2061
2293
  * @public
2062
- * <p>A human-readable identifier provided by the collaboration owner. Display names are not
2063
- * unique.</p>
2294
+ * <p>The token value retrieved from a previous call to access the next page of
2295
+ * results.</p>
2064
2296
  */
2065
- name?: string;
2297
+ nextToken?: string;
2066
2298
  /**
2067
2299
  * @public
2068
- * <p>A description of the collaboration.</p>
2300
+ * <p>The maximum size of the results that is returned per call. Service chooses a default if
2301
+ * it has not been set. Service may return a nextToken even if the maximum results has not
2302
+ * been met.</p>
2069
2303
  */
2070
- description?: string;
2304
+ maxResults?: number;
2071
2305
  }
2072
2306
  /**
2073
2307
  * @public
2308
+ * <p>A summary of the collaboration's privacy budget template. This summary includes information about who created the privacy budget template and what collaborations it belongs to.</p>
2074
2309
  */
2075
- export interface UpdateCollaborationOutput {
2310
+ export interface CollaborationPrivacyBudgetTemplateSummary {
2076
2311
  /**
2077
2312
  * @public
2078
- * <p>The entire collaboration that has been updated.</p>
2313
+ * <p>The unique identifier of the collaboration privacy budget template.</p>
2079
2314
  */
2080
- collaboration: Collaboration | undefined;
2081
- }
2082
- /**
2083
- * @public
2084
- */
2085
- export interface CreateConfiguredTableAssociationInput {
2315
+ id: string | undefined;
2086
2316
  /**
2087
2317
  * @public
2088
- * <p>The name of the configured table association. This name is used to query the underlying
2089
- * configured table.</p>
2318
+ * <p>The ARN of the collaboration privacy budget template.</p>
2090
2319
  */
2091
- name: string | undefined;
2320
+ arn: string | undefined;
2092
2321
  /**
2093
2322
  * @public
2094
- * <p>A description for the configured table association.</p>
2323
+ * <p>The unique identifier of the collaboration that contains this collaboration privacy budget template.</p>
2095
2324
  */
2096
- description?: string;
2325
+ collaborationId: string | undefined;
2097
2326
  /**
2098
2327
  * @public
2099
- * <p>A unique identifier for one of your memberships for a collaboration. The configured
2100
- * table is associated to the collaboration that this membership belongs to. Currently accepts
2101
- * a membership ID.</p>
2328
+ * <p>The ARN of the collaboration that contains this collaboration privacy budget template.</p>
2102
2329
  */
2103
- membershipIdentifier: string | undefined;
2330
+ collaborationArn: string | undefined;
2104
2331
  /**
2105
2332
  * @public
2106
- * <p>A unique identifier for the configured table to be associated to. Currently accepts a
2107
- * configured table ID.</p>
2333
+ * <p>The unique identifier of the account that created this collaboration privacy budget template.</p>
2108
2334
  */
2109
- configuredTableIdentifier: string | undefined;
2335
+ creatorAccountId: string | undefined;
2110
2336
  /**
2111
2337
  * @public
2112
- * <p>The service will assume this role to access catalog metadata and query the table.</p>
2338
+ * <p>The type of the privacy budget template.</p>
2113
2339
  */
2114
- roleArn: string | undefined;
2340
+ privacyBudgetType: PrivacyBudgetType | undefined;
2115
2341
  /**
2116
2342
  * @public
2117
- * <p>An optional label that you can assign to a resource when you create it. Each tag
2118
- * consists of a key and an optional value, both of which you define. When you use tagging,
2119
- * you can also use tag-based access control in IAM policies to control access
2120
- * to this resource.</p>
2343
+ * <p>The time at which the collaboration privacy budget template was created.</p>
2121
2344
  */
2122
- tags?: Record<string, string>;
2345
+ createTime: Date | undefined;
2346
+ /**
2347
+ * @public
2348
+ * <p>The most recent time at which the collaboration privacy budget template was updated.</p>
2349
+ */
2350
+ updateTime: Date | undefined;
2123
2351
  }
2124
2352
  /**
2125
2353
  * @public
2126
- * <p>A configured table association links a configured table to a collaboration.</p>
2127
2354
  */
2128
- export interface ConfiguredTableAssociation {
2355
+ export interface ListCollaborationPrivacyBudgetTemplatesOutput {
2129
2356
  /**
2130
2357
  * @public
2131
- * <p>The unique ARN for the configured table association.</p>
2358
+ * <p>The token value retrieved from a previous call to access the next page of
2359
+ * results.</p>
2132
2360
  */
2133
- arn: string | undefined;
2361
+ nextToken?: string;
2134
2362
  /**
2135
2363
  * @public
2136
- * <p>The unique ID for the configured table association.</p>
2364
+ * <p>An array that summarizes the collaboration privacy budget templates. The summary includes collaboration information, creation information, the privacy budget type.</p>
2137
2365
  */
2138
- id: string | undefined;
2366
+ collaborationPrivacyBudgetTemplateSummaries: CollaborationPrivacyBudgetTemplateSummary[] | undefined;
2367
+ }
2368
+ /**
2369
+ * @public
2370
+ * @enum
2371
+ */
2372
+ export declare const FilterableMemberStatus: {
2373
+ readonly ACTIVE: "ACTIVE";
2374
+ readonly INVITED: "INVITED";
2375
+ };
2376
+ /**
2377
+ * @public
2378
+ */
2379
+ export type FilterableMemberStatus = (typeof FilterableMemberStatus)[keyof typeof FilterableMemberStatus];
2380
+ /**
2381
+ * @public
2382
+ */
2383
+ export interface ListCollaborationsInput {
2139
2384
  /**
2140
2385
  * @public
2141
- * <p>The unique ID for the configured table that the association refers to.</p>
2386
+ * <p>The token value retrieved from a previous call to access the next page of
2387
+ * results.</p>
2142
2388
  */
2143
- configuredTableId: string | undefined;
2389
+ nextToken?: string;
2144
2390
  /**
2145
2391
  * @public
2146
- * <p>The unique ARN for the configured table that the association refers to.</p>
2392
+ * <p>The maximum size of the results that is returned per call. Service chooses a default if
2393
+ * it has not been set. Service may return a nextToken even if the maximum results has not
2394
+ * been met.</p>
2147
2395
  */
2148
- configuredTableArn: string | undefined;
2396
+ maxResults?: number;
2149
2397
  /**
2150
2398
  * @public
2151
- * <p>The unique ID for the membership this configured table association belongs to.</p>
2399
+ * <p>The caller's status in a collaboration.</p>
2152
2400
  */
2153
- membershipId: string | undefined;
2401
+ memberStatus?: FilterableMemberStatus;
2402
+ }
2403
+ /**
2404
+ * @public
2405
+ * <p>The metadata of the collaboration.</p>
2406
+ */
2407
+ export interface CollaborationSummary {
2154
2408
  /**
2155
2409
  * @public
2156
- * <p>The unique ARN for the membership this configured table association belongs to.</p>
2410
+ * <p>The identifier for the collaboration.</p>
2157
2411
  */
2158
- membershipArn: string | undefined;
2412
+ id: string | undefined;
2159
2413
  /**
2160
2414
  * @public
2161
- * <p>The service will assume this role to access catalog metadata and query the table.</p>
2415
+ * <p>The ARN of the collaboration.</p>
2162
2416
  */
2163
- roleArn: string | undefined;
2417
+ arn: string | undefined;
2164
2418
  /**
2165
2419
  * @public
2166
- * <p>The name of the configured table association, in lowercase. The table is identified by
2167
- * this name when running protected queries against the underlying data.</p>
2420
+ * <p>A human-readable identifier provided by the collaboration owner. Display names are not
2421
+ * unique.</p>
2168
2422
  */
2169
2423
  name: string | undefined;
2170
2424
  /**
2171
2425
  * @public
2172
- * <p>A description of the configured table association.</p>
2426
+ * <p>The identifier used to reference members of the collaboration. Currently only supports
2427
+ * Amazon Web Services account ID.</p>
2173
2428
  */
2174
- description?: string;
2429
+ creatorAccountId: string | undefined;
2175
2430
  /**
2176
2431
  * @public
2177
- * <p>The time the configured table association was created.</p>
2432
+ * <p>The display name of the collaboration creator.</p>
2433
+ */
2434
+ creatorDisplayName: string | undefined;
2435
+ /**
2436
+ * @public
2437
+ * <p>The time when the collaboration was created.</p>
2178
2438
  */
2179
2439
  createTime: Date | undefined;
2180
2440
  /**
2181
2441
  * @public
2182
- * <p>The time the configured table association was last updated.</p>
2442
+ * <p>The time the collaboration metadata was last updated.</p>
2183
2443
  */
2184
2444
  updateTime: Date | undefined;
2185
- }
2186
- /**
2187
- * @public
2188
- */
2189
- export interface CreateConfiguredTableAssociationOutput {
2190
2445
  /**
2191
2446
  * @public
2192
- * <p>The entire configured table association object.</p>
2447
+ * <p>The status of a member in a collaboration.</p>
2193
2448
  */
2194
- configuredTableAssociation: ConfiguredTableAssociation | undefined;
2195
- }
2196
- /**
2197
- * @public
2198
- */
2199
- export interface DeleteConfiguredTableAssociationInput {
2449
+ memberStatus: MemberStatus | undefined;
2200
2450
  /**
2201
2451
  * @public
2202
- * <p>The unique ID for the configured table association to be deleted. Currently accepts the
2203
- * configured table ID.</p>
2452
+ * <p>The identifier of a member in a collaboration.</p>
2204
2453
  */
2205
- configuredTableAssociationIdentifier: string | undefined;
2454
+ membershipId?: string;
2206
2455
  /**
2207
2456
  * @public
2208
- * <p>A unique identifier for the membership that the configured table association belongs to.
2209
- * Currently accepts the membership ID.</p>
2457
+ * <p>The ARN of a member in a collaboration.</p>
2210
2458
  */
2211
- membershipIdentifier: string | undefined;
2212
- }
2213
- /**
2214
- * @public
2215
- */
2216
- export interface DeleteConfiguredTableAssociationOutput {
2459
+ membershipArn?: string;
2217
2460
  }
2218
2461
  /**
2219
2462
  * @public
2220
2463
  */
2221
- export interface GetConfiguredTableAssociationInput {
2222
- /**
2223
- * @public
2224
- * <p>The unique ID for the configured table association to retrieve. Currently accepts the
2225
- * configured table ID.</p>
2226
- */
2227
- configuredTableAssociationIdentifier: string | undefined;
2464
+ export interface ListCollaborationsOutput {
2228
2465
  /**
2229
2466
  * @public
2230
- * <p>A unique identifier for the membership that the configured table association belongs to.
2231
- * Currently accepts the membership ID.</p>
2467
+ * <p>The token value retrieved from a previous call to access the next page of
2468
+ * results.</p>
2232
2469
  */
2233
- membershipIdentifier: string | undefined;
2234
- }
2235
- /**
2236
- * @public
2237
- */
2238
- export interface GetConfiguredTableAssociationOutput {
2470
+ nextToken?: string;
2239
2471
  /**
2240
2472
  * @public
2241
- * <p>The entire configured table association object.</p>
2473
+ * <p>The list of collaborations.</p>
2242
2474
  */
2243
- configuredTableAssociation: ConfiguredTableAssociation | undefined;
2475
+ collaborationList: CollaborationSummary[] | undefined;
2244
2476
  }
2245
2477
  /**
2246
2478
  * @public
2247
2479
  */
2248
- export interface ListConfiguredTableAssociationsInput {
2480
+ export interface ListMembersInput {
2249
2481
  /**
2250
2482
  * @public
2251
- * <p>A unique identifier for the membership to list configured table associations for.
2252
- * Currently accepts the membership ID.</p>
2483
+ * <p>The identifier of the collaboration in which the members are listed.</p>
2253
2484
  */
2254
- membershipIdentifier: string | undefined;
2485
+ collaborationIdentifier: string | undefined;
2255
2486
  /**
2256
2487
  * @public
2257
2488
  * <p>The token value retrieved from a previous call to access the next page of
@@ -2266,185 +2497,229 @@ export interface ListConfiguredTableAssociationsInput {
2266
2497
  }
2267
2498
  /**
2268
2499
  * @public
2269
- * <p>The configured table association summary for the objects listed by the request.</p>
2500
+ * <p>The member object listed by the request.</p>
2270
2501
  */
2271
- export interface ConfiguredTableAssociationSummary {
2502
+ export interface MemberSummary {
2272
2503
  /**
2273
2504
  * @public
2274
- * <p>The unique configured table ID that this configured table association refers to.</p>
2505
+ * <p>The identifier used to reference members of the collaboration. Currently only supports
2506
+ * Amazon Web Services account ID.</p>
2275
2507
  */
2276
- configuredTableId: string | undefined;
2508
+ accountId: string | undefined;
2277
2509
  /**
2278
2510
  * @public
2279
- * <p>The unique ID for the membership that the configured table association belongs
2280
- * to.</p>
2511
+ * <p>The status of the member.
2512
+ * </p>
2281
2513
  */
2282
- membershipId: string | undefined;
2514
+ status: MemberStatus | undefined;
2283
2515
  /**
2284
2516
  * @public
2285
- * <p>The unique ARN for the membership that the configured table association belongs
2286
- * to.</p>
2517
+ * <p>The member's display name.</p>
2287
2518
  */
2288
- membershipArn: string | undefined;
2519
+ displayName: string | undefined;
2289
2520
  /**
2290
2521
  * @public
2291
- * <p>The name of the configured table association. The table is identified by this name when
2292
- * running Protected Queries against the underlying data.</p>
2522
+ * <p>The abilities granted to the collaboration member.</p>
2293
2523
  */
2294
- name: string | undefined;
2524
+ abilities: MemberAbility[] | undefined;
2295
2525
  /**
2296
2526
  * @public
2297
- * <p>The time the configured table association was created.</p>
2527
+ * <p>The time when the member was created.</p>
2298
2528
  */
2299
2529
  createTime: Date | undefined;
2300
2530
  /**
2301
2531
  * @public
2302
- * <p>The time the configured table association was last updated.</p>
2532
+ * <p>The time the member metadata was last updated.</p>
2303
2533
  */
2304
2534
  updateTime: Date | undefined;
2305
2535
  /**
2306
2536
  * @public
2307
- * <p>The unique ID for the configured table association.</p>
2537
+ * <p>The unique ID for the member's associated membership, if present.</p>
2308
2538
  */
2309
- id: string | undefined;
2539
+ membershipId?: string;
2310
2540
  /**
2311
2541
  * @public
2312
- * <p>The unique ARN for the configured table association.</p>
2542
+ * <p>The unique ARN for the member's associated membership, if present.</p>
2313
2543
  */
2314
- arn: string | undefined;
2544
+ membershipArn?: string;
2545
+ /**
2546
+ * @public
2547
+ * <p>The collaboration
2548
+ * member's payment responsibilities set by the collaboration creator.
2549
+ * </p>
2550
+ */
2551
+ paymentConfiguration: PaymentConfiguration | undefined;
2315
2552
  }
2316
2553
  /**
2317
2554
  * @public
2318
2555
  */
2319
- export interface ListConfiguredTableAssociationsOutput {
2320
- /**
2321
- * @public
2322
- * <p>The retrieved list of configured table associations.</p>
2323
- */
2324
- configuredTableAssociationSummaries: ConfiguredTableAssociationSummary[] | undefined;
2556
+ export interface ListMembersOutput {
2325
2557
  /**
2326
2558
  * @public
2327
2559
  * <p>The token value retrieved from a previous call to access the next page of
2328
2560
  * results.</p>
2329
2561
  */
2330
2562
  nextToken?: string;
2563
+ /**
2564
+ * @public
2565
+ * <p>The list of members returned by the ListMembers operation.</p>
2566
+ */
2567
+ memberSummaries: MemberSummary[] | undefined;
2331
2568
  }
2332
2569
  /**
2333
2570
  * @public
2334
2571
  */
2335
- export interface UpdateConfiguredTableAssociationInput {
2572
+ export interface ListSchemasInput {
2336
2573
  /**
2337
2574
  * @public
2338
- * <p>The unique identifier for the configured table association to update. Currently accepts
2339
- * the configured table association ID.</p>
2575
+ * <p>A unique identifier for the collaboration that the schema belongs to. Currently accepts
2576
+ * a collaboration ID.</p>
2340
2577
  */
2341
- configuredTableAssociationIdentifier: string | undefined;
2578
+ collaborationIdentifier: string | undefined;
2342
2579
  /**
2343
2580
  * @public
2344
- * <p>The unique ID for the membership that the configured table association belongs
2345
- * to.</p>
2581
+ * <p>If present, filter schemas by schema type. The only valid schema type is currently
2582
+ * `TABLE`.</p>
2346
2583
  */
2347
- membershipIdentifier: string | undefined;
2584
+ schemaType?: SchemaType;
2348
2585
  /**
2349
2586
  * @public
2350
- * <p>A new description for the configured table association.</p>
2587
+ * <p>The token value retrieved from a previous call to access the next page of
2588
+ * results.</p>
2351
2589
  */
2352
- description?: string;
2590
+ nextToken?: string;
2353
2591
  /**
2354
2592
  * @public
2355
- * <p>The service will assume this role to access catalog metadata and query the table.</p>
2593
+ * <p>The maximum size of the results that is returned per call.</p>
2356
2594
  */
2357
- roleArn?: string;
2595
+ maxResults?: number;
2358
2596
  }
2359
2597
  /**
2360
2598
  * @public
2599
+ * <p>The schema summary for the objects listed by the request.</p>
2361
2600
  */
2362
- export interface UpdateConfiguredTableAssociationOutput {
2601
+ export interface SchemaSummary {
2363
2602
  /**
2364
2603
  * @public
2365
- * <p>The entire updated configured table association.</p>
2604
+ * <p>The name for the schema object.</p>
2366
2605
  */
2367
- configuredTableAssociation: ConfiguredTableAssociation | undefined;
2606
+ name: string | undefined;
2607
+ /**
2608
+ * @public
2609
+ * <p>The type of schema object. The only valid schema type is currently `TABLE`.</p>
2610
+ */
2611
+ type: SchemaType | undefined;
2612
+ /**
2613
+ * @public
2614
+ * <p>The unique account ID for the Amazon Web Services account that owns the schema.</p>
2615
+ */
2616
+ creatorAccountId: string | undefined;
2617
+ /**
2618
+ * @public
2619
+ * <p>The time the schema object was created.</p>
2620
+ */
2621
+ createTime: Date | undefined;
2622
+ /**
2623
+ * @public
2624
+ * <p>The time the schema object was last updated.</p>
2625
+ */
2626
+ updateTime: Date | undefined;
2627
+ /**
2628
+ * @public
2629
+ * <p>The unique ID for the collaboration that the schema belongs to.</p>
2630
+ */
2631
+ collaborationId: string | undefined;
2632
+ /**
2633
+ * @public
2634
+ * <p>The unique ARN for the collaboration that the schema belongs to.</p>
2635
+ */
2636
+ collaborationArn: string | undefined;
2637
+ /**
2638
+ * @public
2639
+ * <p>The types of analysis rules that are associated with this schema object.</p>
2640
+ */
2641
+ analysisRuleTypes: AnalysisRuleType[] | undefined;
2642
+ /**
2643
+ * @public
2644
+ * <p>The analysis method for the associated schema. The only valid value is currently
2645
+ * `DIRECT_QUERY`.</p>
2646
+ */
2647
+ analysisMethod?: AnalysisMethod;
2368
2648
  }
2369
2649
  /**
2370
2650
  * @public
2371
- * <p>A reference to a table within an Glue data catalog.</p>
2372
2651
  */
2373
- export interface GlueTableReference {
2652
+ export interface ListSchemasOutput {
2374
2653
  /**
2375
2654
  * @public
2376
- * <p>The name of the Glue table.</p>
2655
+ * <p>The retrieved list of schemas.</p>
2377
2656
  */
2378
- tableName: string | undefined;
2657
+ schemaSummaries: SchemaSummary[] | undefined;
2379
2658
  /**
2380
2659
  * @public
2381
- * <p>The name of the database the Glue table belongs to.</p>
2660
+ * <p>The token value retrieved from a previous call to access the next page of
2661
+ * results.</p>
2382
2662
  */
2383
- databaseName: string | undefined;
2663
+ nextToken?: string;
2384
2664
  }
2385
- /**
2386
- * @public
2387
- * <p>A pointer to the dataset that underlies this table. Currently, this can only be an Glue
2388
- * table.</p>
2389
- */
2390
- export type TableReference = TableReference.GlueMember | TableReference.$UnknownMember;
2391
2665
  /**
2392
2666
  * @public
2393
2667
  */
2394
- export declare namespace TableReference {
2668
+ export interface UpdateCollaborationInput {
2395
2669
  /**
2396
2670
  * @public
2397
- * <p>If present, a reference to the Glue table referred to by this table
2398
- * reference.</p>
2671
+ * <p>The identifier for the collaboration.</p>
2399
2672
  */
2400
- interface GlueMember {
2401
- glue: GlueTableReference;
2402
- $unknown?: never;
2403
- }
2673
+ collaborationIdentifier: string | undefined;
2404
2674
  /**
2405
2675
  * @public
2676
+ * <p>A human-readable identifier provided by the collaboration owner. Display names are not
2677
+ * unique.</p>
2406
2678
  */
2407
- interface $UnknownMember {
2408
- glue?: never;
2409
- $unknown: [string, any];
2410
- }
2411
- interface Visitor<T> {
2412
- glue: (value: GlueTableReference) => T;
2413
- _: (name: string, value: any) => T;
2414
- }
2415
- const visit: <T>(value: TableReference, visitor: Visitor<T>) => T;
2679
+ name?: string;
2680
+ /**
2681
+ * @public
2682
+ * <p>A description of the collaboration.</p>
2683
+ */
2684
+ description?: string;
2416
2685
  }
2417
2686
  /**
2418
2687
  * @public
2419
2688
  */
2420
- export interface CreateConfiguredTableInput {
2689
+ export interface UpdateCollaborationOutput {
2421
2690
  /**
2422
2691
  * @public
2423
- * <p>The name of the configured table.</p>
2692
+ * <p>The entire collaboration that has been updated.</p>
2424
2693
  */
2425
- name: string | undefined;
2694
+ collaboration: Collaboration | undefined;
2695
+ }
2696
+ /**
2697
+ * @public
2698
+ */
2699
+ export interface CreateConfiguredAudienceModelAssociationInput {
2426
2700
  /**
2427
2701
  * @public
2428
- * <p>A description for the configured table.</p>
2702
+ * <p>A unique identifier for one of your memberships for a collaboration. The configured
2703
+ * audience model is associated to the collaboration that this membership belongs to. Accepts
2704
+ * a membership ID.</p>
2429
2705
  */
2430
- description?: string;
2706
+ membershipIdentifier: string | undefined;
2431
2707
  /**
2432
2708
  * @public
2433
- * <p>A reference to the Glue table being configured.</p>
2709
+ * <p>A unique identifier for the configured audience model that you want to associate.</p>
2434
2710
  */
2435
- tableReference: TableReference | undefined;
2711
+ configuredAudienceModelArn: string | undefined;
2436
2712
  /**
2437
2713
  * @public
2438
- * <p>The columns of the underlying table that can be used by collaborations or analysis
2439
- * rules.</p>
2714
+ * <p>The name of the configured audience model association.</p>
2440
2715
  */
2441
- allowedColumns: string[] | undefined;
2716
+ configuredAudienceModelAssociationName: string | undefined;
2442
2717
  /**
2443
2718
  * @public
2444
- * <p>The analysis method for the configured tables. The only valid value is currently
2445
- * `DIRECT_QUERY`.</p>
2719
+ * <p>When <code>TRUE</code>, indicates that the resource policy for the configured audience model resource being associated is configured for Clean Rooms to manage permissions related to the given collaboration. When <code>FALSE</code>, indicates that the configured audience model resource owner will manage permissions related to the given collaboration.</p>
2720
+ * <p>Setting this to <code>TRUE</code> requires you to have permissions to create, update, and delete the resource policy for the <code>cleanrooms-ml</code> resource when you call the <a>DeleteConfiguredAudienceModelAssociation</a> resource. In addition, if you are the collaboration creator and specify <code>TRUE</code>, you must have the same permissions when you call the <a>DeleteMember</a> and <a>DeleteCollaboration</a> APIs.</p>
2446
2721
  */
2447
- analysisMethod: AnalysisMethod | undefined;
2722
+ manageResourcePolicies: boolean | undefined;
2448
2723
  /**
2449
2724
  * @public
2450
2725
  * <p>An optional label that you can assign to a resource when you create it. Each tag
@@ -2453,685 +2728,1777 @@ export interface CreateConfiguredTableInput {
2453
2728
  * to this resource.</p>
2454
2729
  */
2455
2730
  tags?: Record<string, string>;
2456
- }
2457
- /**
2458
- * @public
2459
- * @enum
2460
- */
2461
- export declare const ConfiguredTableAnalysisRuleType: {
2462
- readonly AGGREGATION: "AGGREGATION";
2463
- readonly CUSTOM: "CUSTOM";
2464
- readonly LIST: "LIST";
2465
- };
2466
- /**
2467
- * @public
2468
- */
2469
- export type ConfiguredTableAnalysisRuleType = (typeof ConfiguredTableAnalysisRuleType)[keyof typeof ConfiguredTableAnalysisRuleType];
2731
+ /**
2732
+ * @public
2733
+ * <p>A description of the configured audience model association.</p>
2734
+ */
2735
+ description?: string;
2736
+ }
2470
2737
  /**
2471
2738
  * @public
2472
- * <p>A table that has been configured for use in a collaboration.</p>
2739
+ * <p>Details about the configured audience model association.</p>
2473
2740
  */
2474
- export interface ConfiguredTable {
2741
+ export interface ConfiguredAudienceModelAssociation {
2475
2742
  /**
2476
2743
  * @public
2477
- * <p>The unique ID for the configured table.</p>
2744
+ * <p>A unique identifier of the configured audience model association.</p>
2478
2745
  */
2479
2746
  id: string | undefined;
2480
2747
  /**
2481
2748
  * @public
2482
- * <p>The unique ARN for the configured table.</p>
2749
+ * <p>The Amazon Resource Name (ARN) of the configured audience model association.</p>
2483
2750
  */
2484
2751
  arn: string | undefined;
2485
2752
  /**
2486
2753
  * @public
2487
- * <p>A name for the configured table.</p>
2754
+ * <p>The Amazon Resource Name (ARN) of the configured audience model that was used for this configured audience model association.</p>
2488
2755
  */
2489
- name: string | undefined;
2756
+ configuredAudienceModelArn: string | undefined;
2490
2757
  /**
2491
2758
  * @public
2492
- * <p>A description for the configured table.</p>
2759
+ * <p>A unique identifier for the membership that contains this configured audience model association.</p>
2493
2760
  */
2494
- description?: string;
2761
+ membershipId: string | undefined;
2495
2762
  /**
2496
2763
  * @public
2497
- * <p>The Glue table that this configured table represents.</p>
2764
+ * <p>The Amazon Resource Name (ARN) of the membership that contains this configured audience model association.</p>
2498
2765
  */
2499
- tableReference: TableReference | undefined;
2766
+ membershipArn: string | undefined;
2500
2767
  /**
2501
2768
  * @public
2502
- * <p>The time the configured table was created.</p>
2769
+ * <p>A unique identifier of the collaboration that contains this configured audience model association.</p>
2503
2770
  */
2504
- createTime: Date | undefined;
2771
+ collaborationId: string | undefined;
2505
2772
  /**
2506
2773
  * @public
2507
- * <p>The time the configured table was last updated</p>
2774
+ * <p>The Amazon Resource Name (ARN) of the collaboration that contains this configured audience model association.</p>
2508
2775
  */
2509
- updateTime: Date | undefined;
2776
+ collaborationArn: string | undefined;
2510
2777
  /**
2511
2778
  * @public
2512
- * <p>The types of analysis rules associated with this configured table. Currently, only one
2513
- * analysis rule may be associated with a configured table.</p>
2779
+ * <p>The name of the configured audience model association.</p>
2514
2780
  */
2515
- analysisRuleTypes: ConfiguredTableAnalysisRuleType[] | undefined;
2781
+ name: string | undefined;
2516
2782
  /**
2517
2783
  * @public
2518
- * <p>The analysis method for the configured table. The only valid value is currently
2519
- * `DIRECT_QUERY`.</p>
2784
+ * <p>When <code>TRUE</code>, indicates that the resource policy for the configured audience model resource being associated is configured for Clean Rooms to manage permissions related to the given collaboration. When <code>FALSE</code>, indicates that the configured audience model resource owner will manage permissions related to the given collaboration.</p>
2520
2785
  */
2521
- analysisMethod: AnalysisMethod | undefined;
2786
+ manageResourcePolicies: boolean | undefined;
2522
2787
  /**
2523
2788
  * @public
2524
- * <p>The columns within the underlying Glue table that can be utilized within
2525
- * collaborations.</p>
2789
+ * <p>The description of the configured audience model association.</p>
2526
2790
  */
2527
- allowedColumns: string[] | undefined;
2791
+ description?: string;
2792
+ /**
2793
+ * @public
2794
+ * <p>The time at which the configured audience model association was created.</p>
2795
+ */
2796
+ createTime: Date | undefined;
2797
+ /**
2798
+ * @public
2799
+ * <p>The most recent time at which the configured audience model association was updated.</p>
2800
+ */
2801
+ updateTime: Date | undefined;
2528
2802
  }
2529
2803
  /**
2530
2804
  * @public
2531
2805
  */
2532
- export interface CreateConfiguredTableOutput {
2806
+ export interface CreateConfiguredAudienceModelAssociationOutput {
2533
2807
  /**
2534
2808
  * @public
2535
- * <p>The created configured table.</p>
2809
+ * <p>Information about the configured audience model association.</p>
2536
2810
  */
2537
- configuredTable: ConfiguredTable | undefined;
2811
+ configuredAudienceModelAssociation: ConfiguredAudienceModelAssociation | undefined;
2538
2812
  }
2539
- /**
2540
- * @public
2541
- * <p>Controls on the query specifications that can be run on a configured table.</p>
2542
- */
2543
- export type ConfiguredTableAnalysisRulePolicyV1 = ConfiguredTableAnalysisRulePolicyV1.AggregationMember | ConfiguredTableAnalysisRulePolicyV1.CustomMember | ConfiguredTableAnalysisRulePolicyV1.ListMember | ConfiguredTableAnalysisRulePolicyV1.$UnknownMember;
2544
2813
  /**
2545
2814
  * @public
2546
2815
  */
2547
- export declare namespace ConfiguredTableAnalysisRulePolicyV1 {
2548
- /**
2549
- * @public
2550
- * <p>Analysis rule type that enables only list queries on a configured table.</p>
2551
- */
2552
- interface ListMember {
2553
- list: AnalysisRuleList;
2554
- aggregation?: never;
2555
- custom?: never;
2556
- $unknown?: never;
2557
- }
2558
- /**
2559
- * @public
2560
- * <p>Analysis rule type that enables only aggregation queries on a configured table.</p>
2561
- */
2562
- interface AggregationMember {
2563
- list?: never;
2564
- aggregation: AnalysisRuleAggregation;
2565
- custom?: never;
2566
- $unknown?: never;
2567
- }
2816
+ export interface DeleteConfiguredAudienceModelAssociationInput {
2568
2817
  /**
2569
2818
  * @public
2570
- * <p>A type of analysis rule that enables the table owner to approve custom SQL queries on
2571
- * their configured tables.</p>
2819
+ * <p>A unique identifier of the configured audience model association that you want to delete.</p>
2572
2820
  */
2573
- interface CustomMember {
2574
- list?: never;
2575
- aggregation?: never;
2576
- custom: AnalysisRuleCustom;
2577
- $unknown?: never;
2578
- }
2821
+ configuredAudienceModelAssociationIdentifier: string | undefined;
2579
2822
  /**
2580
2823
  * @public
2824
+ * <p>A unique identifier of the membership that contains the audience model association that you want to delete.</p>
2581
2825
  */
2582
- interface $UnknownMember {
2583
- list?: never;
2584
- aggregation?: never;
2585
- custom?: never;
2586
- $unknown: [string, any];
2587
- }
2588
- interface Visitor<T> {
2589
- list: (value: AnalysisRuleList) => T;
2590
- aggregation: (value: AnalysisRuleAggregation) => T;
2591
- custom: (value: AnalysisRuleCustom) => T;
2592
- _: (name: string, value: any) => T;
2593
- }
2594
- const visit: <T>(value: ConfiguredTableAnalysisRulePolicyV1, visitor: Visitor<T>) => T;
2826
+ membershipIdentifier: string | undefined;
2595
2827
  }
2596
2828
  /**
2597
2829
  * @public
2598
- * <p>Controls on the query specifications that can be run on a configured table.</p>
2599
2830
  */
2600
- export type ConfiguredTableAnalysisRulePolicy = ConfiguredTableAnalysisRulePolicy.V1Member | ConfiguredTableAnalysisRulePolicy.$UnknownMember;
2831
+ export interface DeleteConfiguredAudienceModelAssociationOutput {
2832
+ }
2601
2833
  /**
2602
2834
  * @public
2603
2835
  */
2604
- export declare namespace ConfiguredTableAnalysisRulePolicy {
2836
+ export interface GetConfiguredAudienceModelAssociationInput {
2605
2837
  /**
2606
2838
  * @public
2607
- * <p>Controls on the query specifications that can be run on a configured table.</p>
2839
+ * <p>A unique identifier for the configured audience model association that you want to retrieve.</p>
2608
2840
  */
2609
- interface V1Member {
2610
- v1: ConfiguredTableAnalysisRulePolicyV1;
2611
- $unknown?: never;
2612
- }
2841
+ configuredAudienceModelAssociationIdentifier: string | undefined;
2613
2842
  /**
2614
2843
  * @public
2844
+ * <p>A unique identifier for the membership that contains the configured audience model association that you want to retrieve.</p>
2615
2845
  */
2616
- interface $UnknownMember {
2617
- v1?: never;
2618
- $unknown: [string, any];
2619
- }
2620
- interface Visitor<T> {
2621
- v1: (value: ConfiguredTableAnalysisRulePolicyV1) => T;
2622
- _: (name: string, value: any) => T;
2623
- }
2624
- const visit: <T>(value: ConfiguredTableAnalysisRulePolicy, visitor: Visitor<T>) => T;
2846
+ membershipIdentifier: string | undefined;
2625
2847
  }
2626
2848
  /**
2627
2849
  * @public
2628
2850
  */
2629
- export interface CreateConfiguredTableAnalysisRuleInput {
2851
+ export interface GetConfiguredAudienceModelAssociationOutput {
2630
2852
  /**
2631
2853
  * @public
2632
- * <p>The identifier for the configured table to create the analysis rule for. Currently
2633
- * accepts the configured table ID. </p>
2854
+ * <p>Information about the configured audience model association that you requested.</p>
2634
2855
  */
2635
- configuredTableIdentifier: string | undefined;
2856
+ configuredAudienceModelAssociation: ConfiguredAudienceModelAssociation | undefined;
2857
+ }
2858
+ /**
2859
+ * @public
2860
+ */
2861
+ export interface ListConfiguredAudienceModelAssociationsInput {
2636
2862
  /**
2637
2863
  * @public
2638
- * <p>The type of analysis rule.</p>
2864
+ * <p>A unique identifier for a membership that contains the configured audience model associations that you want to retrieve.</p>
2639
2865
  */
2640
- analysisRuleType: ConfiguredTableAnalysisRuleType | undefined;
2866
+ membershipIdentifier: string | undefined;
2641
2867
  /**
2642
2868
  * @public
2643
- * <p>The entire created configured table analysis rule object.</p>
2869
+ * <p>The token value retrieved from a previous call to access the next page of results.</p>
2644
2870
  */
2645
- analysisRulePolicy: ConfiguredTableAnalysisRulePolicy | undefined;
2871
+ nextToken?: string;
2872
+ /**
2873
+ * @public
2874
+ * <p>The maximum size of the results that is returned per call. Service chooses a default if
2875
+ * it has not been set. Service may return a nextToken even if the maximum results has not
2876
+ * been met.</p>
2877
+ */
2878
+ maxResults?: number;
2646
2879
  }
2647
2880
  /**
2648
2881
  * @public
2649
- * <p>A configured table analysis rule, which limits how data for this table can be
2650
- * used.</p>
2882
+ * <p>A summary of the configured audience model association.</p>
2651
2883
  */
2652
- export interface ConfiguredTableAnalysisRule {
2884
+ export interface ConfiguredAudienceModelAssociationSummary {
2653
2885
  /**
2654
2886
  * @public
2655
- * <p>The unique ID for the configured table.</p>
2887
+ * <p>A unique identifier of the membership that contains the configured audience model association.</p>
2656
2888
  */
2657
- configuredTableId: string | undefined;
2889
+ membershipId: string | undefined;
2658
2890
  /**
2659
2891
  * @public
2660
- * <p>The unique ARN for the configured table.</p>
2892
+ * <p>The Amazon Resource Name (ARN) of the membership that contains the configured audience model association.</p>
2661
2893
  */
2662
- configuredTableArn: string | undefined;
2894
+ membershipArn: string | undefined;
2663
2895
  /**
2664
2896
  * @public
2665
- * <p>The policy that controls SQL query rules.</p>
2897
+ * <p>The Amazon Resource Name (ARN) of the collaboration that contains the configured audience model association.</p>
2666
2898
  */
2667
- policy: ConfiguredTableAnalysisRulePolicy | undefined;
2899
+ collaborationArn: string | undefined;
2668
2900
  /**
2669
2901
  * @public
2670
- * <p>The type of configured table analysis rule.</p>
2902
+ * <p>A unique identifier of the collaboration that configured audience model is associated with.</p>
2671
2903
  */
2672
- type: ConfiguredTableAnalysisRuleType | undefined;
2904
+ collaborationId: string | undefined;
2673
2905
  /**
2674
2906
  * @public
2675
- * <p>The time the configured table analysis rule was created.</p>
2907
+ * <p>The time at which the configured audience model association was created.</p>
2676
2908
  */
2677
2909
  createTime: Date | undefined;
2678
2910
  /**
2679
2911
  * @public
2680
- * <p>The time the configured table analysis rule was last updated.</p>
2912
+ * <p>The most recent time at which the configured audience model association was updated.</p>
2681
2913
  */
2682
2914
  updateTime: Date | undefined;
2683
- }
2684
- /**
2685
- * @public
2686
- */
2687
- export interface CreateConfiguredTableAnalysisRuleOutput {
2688
2915
  /**
2689
2916
  * @public
2690
- * <p>The entire created analysis rule.</p>
2917
+ * <p>A unique identifier of the configured audience model association.</p>
2691
2918
  */
2692
- analysisRule: ConfiguredTableAnalysisRule | undefined;
2693
- }
2694
- /**
2695
- * @public
2696
- */
2697
- export interface DeleteConfiguredTableInput {
2919
+ id: string | undefined;
2698
2920
  /**
2699
2921
  * @public
2700
- * <p>The unique ID for the configured table to delete.</p>
2922
+ * <p>The Amazon Resource Name (ARN) of the configured audience model association.</p>
2701
2923
  */
2702
- configuredTableIdentifier: string | undefined;
2703
- }
2704
- /**
2705
- * @public
2706
- * <p>The empty output for a successful deletion.</p>
2707
- */
2708
- export interface DeleteConfiguredTableOutput {
2709
- }
2710
- /**
2711
- * @public
2712
- */
2713
- export interface DeleteConfiguredTableAnalysisRuleInput {
2924
+ arn: string | undefined;
2714
2925
  /**
2715
2926
  * @public
2716
- * <p>The unique identifier for the configured table that the analysis rule applies to.
2717
- * Currently accepts the configured table ID.</p>
2927
+ * <p>The name of the configured audience model association.</p>
2718
2928
  */
2719
- configuredTableIdentifier: string | undefined;
2929
+ name: string | undefined;
2720
2930
  /**
2721
2931
  * @public
2722
- * <p>The analysis rule type to be deleted. Configured table analysis rules are uniquely
2723
- * identified by their configured table identifier and analysis rule type.</p>
2932
+ * <p>The Amazon Resource Name (ARN) of the configured audience model that was used for this configured audience model association.</p>
2724
2933
  */
2725
- analysisRuleType: ConfiguredTableAnalysisRuleType | undefined;
2726
- }
2727
- /**
2728
- * @public
2729
- * <p>An empty response that indicates a successful delete.</p>
2730
- */
2731
- export interface DeleteConfiguredTableAnalysisRuleOutput {
2732
- }
2733
- /**
2734
- * @public
2735
- */
2736
- export interface GetConfiguredTableInput {
2934
+ configuredAudienceModelArn: string | undefined;
2737
2935
  /**
2738
2936
  * @public
2739
- * <p>The unique ID for the configured table to retrieve.</p>
2937
+ * <p>The description of the configured audience model association.</p>
2740
2938
  */
2741
- configuredTableIdentifier: string | undefined;
2939
+ description?: string;
2742
2940
  }
2743
2941
  /**
2744
2942
  * @public
2745
2943
  */
2746
- export interface GetConfiguredTableOutput {
2944
+ export interface ListConfiguredAudienceModelAssociationsOutput {
2747
2945
  /**
2748
2946
  * @public
2749
- * <p>The retrieved configured table.</p>
2947
+ * <p>Summaries of the configured audience model associations that you requested.</p>
2750
2948
  */
2751
- configuredTable: ConfiguredTable | undefined;
2949
+ configuredAudienceModelAssociationSummaries: ConfiguredAudienceModelAssociationSummary[] | undefined;
2950
+ /**
2951
+ * @public
2952
+ * <p>The token value provided to access the next page of results.</p>
2953
+ */
2954
+ nextToken?: string;
2752
2955
  }
2753
2956
  /**
2754
2957
  * @public
2755
2958
  */
2756
- export interface GetConfiguredTableAnalysisRuleInput {
2959
+ export interface UpdateConfiguredAudienceModelAssociationInput {
2757
2960
  /**
2758
2961
  * @public
2759
- * <p>The unique identifier for the configured table to retrieve. Currently accepts the
2760
- * configured table ID.</p>
2962
+ * <p>A unique identifier for the configured audience model association that you want to update.</p>
2761
2963
  */
2762
- configuredTableIdentifier: string | undefined;
2964
+ configuredAudienceModelAssociationIdentifier: string | undefined;
2763
2965
  /**
2764
2966
  * @public
2765
- * <p>The analysis rule to be retrieved. Configured table analysis rules are uniquely
2766
- * identified by their configured table identifier and analysis rule type.</p>
2967
+ * <p>A unique identifier of the membership that contains the configured audience model association that you want to update.</p>
2767
2968
  */
2768
- analysisRuleType: ConfiguredTableAnalysisRuleType | undefined;
2769
- }
2770
- /**
2771
- * @public
2772
- */
2773
- export interface GetConfiguredTableAnalysisRuleOutput {
2969
+ membershipIdentifier: string | undefined;
2774
2970
  /**
2775
2971
  * @public
2776
- * <p>The entire analysis rule output.</p>
2972
+ * <p>A new description for the configured audience model association.</p>
2777
2973
  */
2778
- analysisRule: ConfiguredTableAnalysisRule | undefined;
2974
+ description?: string;
2975
+ /**
2976
+ * @public
2977
+ * <p>A new name for the configured audience model association.</p>
2978
+ */
2979
+ name?: string;
2779
2980
  }
2780
2981
  /**
2781
2982
  * @public
2782
2983
  */
2783
- export interface ListConfiguredTablesInput {
2784
- /**
2785
- * @public
2786
- * <p>The token value retrieved from a previous call to access the next page of
2787
- * results.</p>
2788
- */
2789
- nextToken?: string;
2984
+ export interface UpdateConfiguredAudienceModelAssociationOutput {
2790
2985
  /**
2791
2986
  * @public
2792
- * <p>The maximum size of the results that is returned per call.</p>
2987
+ * <p>Details about the configured audience model association that you updated.</p>
2793
2988
  */
2794
- maxResults?: number;
2989
+ configuredAudienceModelAssociation: ConfiguredAudienceModelAssociation | undefined;
2795
2990
  }
2796
2991
  /**
2797
2992
  * @public
2798
- * <p>The configured table summary for the objects listed by the request.</p>
2799
2993
  */
2800
- export interface ConfiguredTableSummary {
2994
+ export interface CreateConfiguredTableAssociationInput {
2801
2995
  /**
2802
2996
  * @public
2803
- * <p>The unique ID of the configured table.</p>
2997
+ * <p>The name of the configured table association. This name is used to query the underlying
2998
+ * configured table.</p>
2804
2999
  */
2805
- id: string | undefined;
3000
+ name: string | undefined;
2806
3001
  /**
2807
3002
  * @public
2808
- * <p>The unique ARN of the configured table.</p>
3003
+ * <p>A description for the configured table association.</p>
2809
3004
  */
2810
- arn: string | undefined;
3005
+ description?: string;
2811
3006
  /**
2812
3007
  * @public
2813
- * <p>The name of the configured table.</p>
2814
- */
2815
- name: string | undefined;
2816
- /**
2817
- * @public
2818
- * <p>The time the configured table was created.</p>
3008
+ * <p>A unique identifier for one of your memberships for a collaboration. The configured
3009
+ * table is associated to the collaboration that this membership belongs to. Currently accepts
3010
+ * a membership ID.</p>
2819
3011
  */
2820
- createTime: Date | undefined;
3012
+ membershipIdentifier: string | undefined;
2821
3013
  /**
2822
3014
  * @public
2823
- * <p>The time the configured table was last updated.</p>
3015
+ * <p>A unique identifier for the configured table to be associated to. Currently accepts a
3016
+ * configured table ID.</p>
2824
3017
  */
2825
- updateTime: Date | undefined;
3018
+ configuredTableIdentifier: string | undefined;
2826
3019
  /**
2827
3020
  * @public
2828
- * <p>The types of analysis rules associated with this configured table.</p>
3021
+ * <p>The service will assume this role to access catalog metadata and query the table.</p>
2829
3022
  */
2830
- analysisRuleTypes: ConfiguredTableAnalysisRuleType[] | undefined;
3023
+ roleArn: string | undefined;
2831
3024
  /**
2832
3025
  * @public
2833
- * <p>The analysis method for the configured tables. The only valid value is currently
2834
- * `DIRECT_QUERY`.</p>
3026
+ * <p>An optional label that you can assign to a resource when you create it. Each tag
3027
+ * consists of a key and an optional value, both of which you define. When you use tagging,
3028
+ * you can also use tag-based access control in IAM policies to control access
3029
+ * to this resource.</p>
2835
3030
  */
2836
- analysisMethod: AnalysisMethod | undefined;
3031
+ tags?: Record<string, string>;
2837
3032
  }
2838
3033
  /**
2839
3034
  * @public
3035
+ * <p>A configured table association links a configured table to a collaboration.</p>
2840
3036
  */
2841
- export interface ListConfiguredTablesOutput {
3037
+ export interface ConfiguredTableAssociation {
2842
3038
  /**
2843
3039
  * @public
2844
- * <p>The configured tables listed by the request.</p>
3040
+ * <p>The unique ARN for the configured table association.</p>
2845
3041
  */
2846
- configuredTableSummaries: ConfiguredTableSummary[] | undefined;
3042
+ arn: string | undefined;
2847
3043
  /**
2848
3044
  * @public
2849
- * <p>The token value retrieved from a previous call to access the next page of
2850
- * results.</p>
3045
+ * <p>The unique ID for the configured table association.</p>
2851
3046
  */
2852
- nextToken?: string;
2853
- }
2854
- /**
2855
- * @public
2856
- */
2857
- export interface UpdateConfiguredTableInput {
3047
+ id: string | undefined;
2858
3048
  /**
2859
3049
  * @public
2860
- * <p>The identifier for the configured table to update. Currently accepts the configured
2861
- * table ID.</p>
3050
+ * <p>The unique ID for the configured table that the association refers to.</p>
2862
3051
  */
2863
- configuredTableIdentifier: string | undefined;
3052
+ configuredTableId: string | undefined;
2864
3053
  /**
2865
3054
  * @public
2866
- * <p>A new name for the configured table.</p>
3055
+ * <p>The unique ARN for the configured table that the association refers to.</p>
2867
3056
  */
2868
- name?: string;
3057
+ configuredTableArn: string | undefined;
2869
3058
  /**
2870
3059
  * @public
2871
- * <p>A new description for the configured table.</p>
3060
+ * <p>The unique ID for the membership this configured table association belongs to.</p>
2872
3061
  */
2873
- description?: string;
2874
- }
2875
- /**
2876
- * @public
2877
- */
2878
- export interface UpdateConfiguredTableOutput {
3062
+ membershipId: string | undefined;
2879
3063
  /**
2880
3064
  * @public
2881
- * <p>The updated configured table.</p>
3065
+ * <p>The unique ARN for the membership this configured table association belongs to.</p>
2882
3066
  */
2883
- configuredTable: ConfiguredTable | undefined;
2884
- }
2885
- /**
2886
- * @public
2887
- */
2888
- export interface UpdateConfiguredTableAnalysisRuleInput {
3067
+ membershipArn: string | undefined;
2889
3068
  /**
2890
3069
  * @public
2891
- * <p>The unique identifier for the configured table that the analysis rule applies to.
2892
- * Currently accepts the configured table ID.</p>
3070
+ * <p>The service will assume this role to access catalog metadata and query the table.</p>
2893
3071
  */
2894
- configuredTableIdentifier: string | undefined;
3072
+ roleArn: string | undefined;
2895
3073
  /**
2896
3074
  * @public
2897
- * <p>The analysis rule type to be updated. Configured table analysis rules are uniquely
2898
- * identified by their configured table identifier and analysis rule type.</p>
3075
+ * <p>The name of the configured table association, in lowercase. The table is identified by
3076
+ * this name when running protected queries against the underlying data.</p>
2899
3077
  */
2900
- analysisRuleType: ConfiguredTableAnalysisRuleType | undefined;
3078
+ name: string | undefined;
2901
3079
  /**
2902
3080
  * @public
2903
- * <p>The new analysis rule policy for the configured table analysis rule.</p>
3081
+ * <p>A description of the configured table association.</p>
2904
3082
  */
2905
- analysisRulePolicy: ConfiguredTableAnalysisRulePolicy | undefined;
2906
- }
2907
- /**
2908
- * @public
2909
- */
2910
- export interface UpdateConfiguredTableAnalysisRuleOutput {
3083
+ description?: string;
2911
3084
  /**
2912
3085
  * @public
2913
- * <p>The entire updated analysis rule.</p>
3086
+ * <p>The time the configured table association was created.</p>
2914
3087
  */
2915
- analysisRule: ConfiguredTableAnalysisRule | undefined;
2916
- }
2917
- /**
2918
- * @public
2919
- */
2920
- export interface ListTagsForResourceInput {
3088
+ createTime: Date | undefined;
2921
3089
  /**
2922
3090
  * @public
2923
- * <p>The Amazon Resource Name (ARN) associated with the resource you want to list tags
2924
- * on.</p>
3091
+ * <p>The time the configured table association was last updated.</p>
2925
3092
  */
2926
- resourceArn: string | undefined;
3093
+ updateTime: Date | undefined;
2927
3094
  }
2928
3095
  /**
2929
3096
  * @public
2930
3097
  */
2931
- export interface ListTagsForResourceOutput {
3098
+ export interface CreateConfiguredTableAssociationOutput {
2932
3099
  /**
2933
3100
  * @public
2934
- * <p>A map of objects specifying each key name and value.</p>
3101
+ * <p>The entire configured table association object.</p>
2935
3102
  */
2936
- tags: Record<string, string> | undefined;
3103
+ configuredTableAssociation: ConfiguredTableAssociation | undefined;
2937
3104
  }
2938
- /**
2939
- * @public
2940
- * @enum
2941
- */
2942
- export declare const ResultFormat: {
2943
- readonly CSV: "CSV";
2944
- readonly PARQUET: "PARQUET";
2945
- };
2946
3105
  /**
2947
3106
  * @public
2948
3107
  */
2949
- export type ResultFormat = (typeof ResultFormat)[keyof typeof ResultFormat];
2950
- /**
2951
- * @public
2952
- * <p>Contains the configuration to write the query results to S3.</p>
2953
- */
2954
- export interface ProtectedQueryS3OutputConfiguration {
2955
- /**
2956
- * @public
2957
- * <p>Intended file format of the result.</p>
2958
- */
2959
- resultFormat: ResultFormat | undefined;
3108
+ export interface DeleteConfiguredTableAssociationInput {
2960
3109
  /**
2961
3110
  * @public
2962
- * <p>The S3 bucket to unload the protected query results.</p>
3111
+ * <p>The unique ID for the configured table association to be deleted. Currently accepts the
3112
+ * configured table ID.</p>
2963
3113
  */
2964
- bucket: string | undefined;
3114
+ configuredTableAssociationIdentifier: string | undefined;
2965
3115
  /**
2966
3116
  * @public
2967
- * <p>The S3 prefix to unload the protected query results.</p>
3117
+ * <p>A unique identifier for the membership that the configured table association belongs to.
3118
+ * Currently accepts the membership ID.</p>
2968
3119
  */
2969
- keyPrefix?: string;
3120
+ membershipIdentifier: string | undefined;
2970
3121
  }
2971
3122
  /**
2972
3123
  * @public
2973
- * <p>Contains configurations for protected query results.</p>
2974
3124
  */
2975
- export type MembershipProtectedQueryOutputConfiguration = MembershipProtectedQueryOutputConfiguration.S3Member | MembershipProtectedQueryOutputConfiguration.$UnknownMember;
3125
+ export interface DeleteConfiguredTableAssociationOutput {
3126
+ }
2976
3127
  /**
2977
3128
  * @public
2978
3129
  */
2979
- export declare namespace MembershipProtectedQueryOutputConfiguration {
3130
+ export interface GetConfiguredTableAssociationInput {
2980
3131
  /**
2981
3132
  * @public
2982
- * <p>Contains the configuration to write the query results to S3.</p>
3133
+ * <p>The unique ID for the configured table association to retrieve. Currently accepts the
3134
+ * configured table ID.</p>
2983
3135
  */
2984
- interface S3Member {
2985
- s3: ProtectedQueryS3OutputConfiguration;
2986
- $unknown?: never;
2987
- }
3136
+ configuredTableAssociationIdentifier: string | undefined;
2988
3137
  /**
2989
3138
  * @public
3139
+ * <p>A unique identifier for the membership that the configured table association belongs to.
3140
+ * Currently accepts the membership ID.</p>
2990
3141
  */
2991
- interface $UnknownMember {
2992
- s3?: never;
2993
- $unknown: [string, any];
2994
- }
2995
- interface Visitor<T> {
2996
- s3: (value: ProtectedQueryS3OutputConfiguration) => T;
2997
- _: (name: string, value: any) => T;
2998
- }
2999
- const visit: <T>(value: MembershipProtectedQueryOutputConfiguration, visitor: Visitor<T>) => T;
3142
+ membershipIdentifier: string | undefined;
3000
3143
  }
3001
3144
  /**
3002
3145
  * @public
3003
- * <p>Contains configurations for protected query results.</p>
3004
3146
  */
3005
- export interface MembershipProtectedQueryResultConfiguration {
3006
- /**
3007
- * @public
3008
- * <p>Configuration for protected query results.</p>
3009
- */
3010
- outputConfiguration: MembershipProtectedQueryOutputConfiguration | undefined;
3147
+ export interface GetConfiguredTableAssociationOutput {
3011
3148
  /**
3012
3149
  * @public
3013
- * <p>The unique ARN for an IAM role that is used by Clean Rooms to write protected
3014
- * query results to the result location, given by the member who can receive results.</p>
3150
+ * <p>The entire configured table association object.</p>
3015
3151
  */
3016
- roleArn?: string;
3152
+ configuredTableAssociation: ConfiguredTableAssociation | undefined;
3017
3153
  }
3018
3154
  /**
3019
3155
  * @public
3020
- * <p>An object
3021
- * representing the payment responsibilities accepted by the collaboration member for query
3022
- * compute costs.</p>
3023
3156
  */
3024
- export interface MembershipQueryComputePaymentConfig {
3157
+ export interface ListConfiguredTableAssociationsInput {
3025
3158
  /**
3026
3159
  * @public
3027
- * <p>Indicates whether
3028
- * the collaboration member has accepted to pay for query compute costs (<code>TRUE</code>) or
3029
- * has not accepted to pay for query compute costs
3030
- * (<code>FALSE</code>).</p>
3031
- * <p>If the collaboration creator has not specified anyone to pay for query compute costs,
3032
- * then the member who can query is the default payer. </p>
3033
- * <p>An error message is returned for the following reasons: </p>
3034
- * <ul>
3035
- * <li>
3036
- * <p>If you set the value to <code>FALSE</code> but you are responsible to pay for
3037
- * query compute costs. </p>
3038
- * </li>
3039
- * <li>
3040
- * <p>If you set the value to <code>TRUE</code> but you are not responsible to pay for
3041
- * query compute costs. </p>
3042
- * </li>
3043
- * </ul>
3160
+ * <p>A unique identifier for the membership to list configured table associations for.
3161
+ * Currently accepts the membership ID.</p>
3044
3162
  */
3045
- isResponsible: boolean | undefined;
3046
- }
3047
- /**
3048
- * @public
3049
- * <p>An object
3050
- * representing the payment responsibilities accepted by the collaboration
3051
- * member.</p>
3052
- */
3053
- export interface MembershipPaymentConfiguration {
3163
+ membershipIdentifier: string | undefined;
3054
3164
  /**
3055
3165
  * @public
3056
- * <p>The payment
3057
- * responsibilities accepted by the collaboration member for query compute
3058
- * costs.</p>
3166
+ * <p>The token value retrieved from a previous call to access the next page of
3167
+ * results.</p>
3059
3168
  */
3060
- queryCompute: MembershipQueryComputePaymentConfig | undefined;
3169
+ nextToken?: string;
3170
+ /**
3171
+ * @public
3172
+ * <p>The maximum size of the results that is returned per call.</p>
3173
+ */
3174
+ maxResults?: number;
3061
3175
  }
3062
3176
  /**
3063
3177
  * @public
3064
- * @enum
3065
- */
3066
- export declare const MembershipQueryLogStatus: {
3067
- readonly DISABLED: "DISABLED";
3068
- readonly ENABLED: "ENABLED";
3069
- };
3070
- /**
3071
- * @public
3072
- */
3073
- export type MembershipQueryLogStatus = (typeof MembershipQueryLogStatus)[keyof typeof MembershipQueryLogStatus];
3074
- /**
3075
- * @public
3178
+ * <p>The configured table association summary for the objects listed by the request.</p>
3076
3179
  */
3077
- export interface CreateMembershipInput {
3180
+ export interface ConfiguredTableAssociationSummary {
3078
3181
  /**
3079
3182
  * @public
3080
- * <p>The unique ID for the associated collaboration.</p>
3183
+ * <p>The unique configured table ID that this configured table association refers to.</p>
3081
3184
  */
3082
- collaborationIdentifier: string | undefined;
3185
+ configuredTableId: string | undefined;
3083
3186
  /**
3084
3187
  * @public
3085
- * <p>An indicator as to whether query logging has been enabled or disabled for the
3086
- * membership.</p>
3188
+ * <p>The unique ID for the membership that the configured table association belongs
3189
+ * to.</p>
3087
3190
  */
3088
- queryLogStatus: MembershipQueryLogStatus | undefined;
3191
+ membershipId: string | undefined;
3089
3192
  /**
3090
3193
  * @public
3091
- * <p>An optional label that you can assign to a resource when you create it. Each tag
3092
- * consists of a key and an optional value, both of which you define. When you use tagging,
3093
- * you can also use tag-based access control in IAM policies to control access
3094
- * to this resource.</p>
3194
+ * <p>The unique ARN for the membership that the configured table association belongs
3195
+ * to.</p>
3196
+ */
3197
+ membershipArn: string | undefined;
3198
+ /**
3199
+ * @public
3200
+ * <p>The name of the configured table association. The table is identified by this name when
3201
+ * running Protected Queries against the underlying data.</p>
3202
+ */
3203
+ name: string | undefined;
3204
+ /**
3205
+ * @public
3206
+ * <p>The time the configured table association was created.</p>
3207
+ */
3208
+ createTime: Date | undefined;
3209
+ /**
3210
+ * @public
3211
+ * <p>The time the configured table association was last updated.</p>
3212
+ */
3213
+ updateTime: Date | undefined;
3214
+ /**
3215
+ * @public
3216
+ * <p>The unique ID for the configured table association.</p>
3217
+ */
3218
+ id: string | undefined;
3219
+ /**
3220
+ * @public
3221
+ * <p>The unique ARN for the configured table association.</p>
3222
+ */
3223
+ arn: string | undefined;
3224
+ }
3225
+ /**
3226
+ * @public
3227
+ */
3228
+ export interface ListConfiguredTableAssociationsOutput {
3229
+ /**
3230
+ * @public
3231
+ * <p>The retrieved list of configured table associations.</p>
3232
+ */
3233
+ configuredTableAssociationSummaries: ConfiguredTableAssociationSummary[] | undefined;
3234
+ /**
3235
+ * @public
3236
+ * <p>The token value retrieved from a previous call to access the next page of
3237
+ * results.</p>
3238
+ */
3239
+ nextToken?: string;
3240
+ }
3241
+ /**
3242
+ * @public
3243
+ */
3244
+ export interface UpdateConfiguredTableAssociationInput {
3245
+ /**
3246
+ * @public
3247
+ * <p>The unique identifier for the configured table association to update. Currently accepts
3248
+ * the configured table association ID.</p>
3249
+ */
3250
+ configuredTableAssociationIdentifier: string | undefined;
3251
+ /**
3252
+ * @public
3253
+ * <p>The unique ID for the membership that the configured table association belongs
3254
+ * to.</p>
3255
+ */
3256
+ membershipIdentifier: string | undefined;
3257
+ /**
3258
+ * @public
3259
+ * <p>A new description for the configured table association.</p>
3260
+ */
3261
+ description?: string;
3262
+ /**
3263
+ * @public
3264
+ * <p>The service will assume this role to access catalog metadata and query the table.</p>
3265
+ */
3266
+ roleArn?: string;
3267
+ }
3268
+ /**
3269
+ * @public
3270
+ */
3271
+ export interface UpdateConfiguredTableAssociationOutput {
3272
+ /**
3273
+ * @public
3274
+ * <p>The entire updated configured table association.</p>
3275
+ */
3276
+ configuredTableAssociation: ConfiguredTableAssociation | undefined;
3277
+ }
3278
+ /**
3279
+ * @public
3280
+ * <p>A reference to a table within an Glue data catalog.</p>
3281
+ */
3282
+ export interface GlueTableReference {
3283
+ /**
3284
+ * @public
3285
+ * <p>The name of the Glue table.</p>
3286
+ */
3287
+ tableName: string | undefined;
3288
+ /**
3289
+ * @public
3290
+ * <p>The name of the database the Glue table belongs to.</p>
3291
+ */
3292
+ databaseName: string | undefined;
3293
+ }
3294
+ /**
3295
+ * @public
3296
+ * <p>A pointer to the dataset that underlies this table. Currently, this can only be an Glue
3297
+ * table.</p>
3298
+ */
3299
+ export type TableReference = TableReference.GlueMember | TableReference.$UnknownMember;
3300
+ /**
3301
+ * @public
3302
+ */
3303
+ export declare namespace TableReference {
3304
+ /**
3305
+ * @public
3306
+ * <p>If present, a reference to the Glue table referred to by this table
3307
+ * reference.</p>
3308
+ */
3309
+ interface GlueMember {
3310
+ glue: GlueTableReference;
3311
+ $unknown?: never;
3312
+ }
3313
+ /**
3314
+ * @public
3315
+ */
3316
+ interface $UnknownMember {
3317
+ glue?: never;
3318
+ $unknown: [string, any];
3319
+ }
3320
+ interface Visitor<T> {
3321
+ glue: (value: GlueTableReference) => T;
3322
+ _: (name: string, value: any) => T;
3323
+ }
3324
+ const visit: <T>(value: TableReference, visitor: Visitor<T>) => T;
3325
+ }
3326
+ /**
3327
+ * @public
3328
+ */
3329
+ export interface CreateConfiguredTableInput {
3330
+ /**
3331
+ * @public
3332
+ * <p>The name of the configured table.</p>
3333
+ */
3334
+ name: string | undefined;
3335
+ /**
3336
+ * @public
3337
+ * <p>A description for the configured table.</p>
3338
+ */
3339
+ description?: string;
3340
+ /**
3341
+ * @public
3342
+ * <p>A reference to the Glue table being configured.</p>
3343
+ */
3344
+ tableReference: TableReference | undefined;
3345
+ /**
3346
+ * @public
3347
+ * <p>The columns of the underlying table that can be used by collaborations or analysis
3348
+ * rules.</p>
3349
+ */
3350
+ allowedColumns: string[] | undefined;
3351
+ /**
3352
+ * @public
3353
+ * <p>The analysis method for the configured tables. The only valid value is currently
3354
+ * `DIRECT_QUERY`.</p>
3355
+ */
3356
+ analysisMethod: AnalysisMethod | undefined;
3357
+ /**
3358
+ * @public
3359
+ * <p>An optional label that you can assign to a resource when you create it. Each tag
3360
+ * consists of a key and an optional value, both of which you define. When you use tagging,
3361
+ * you can also use tag-based access control in IAM policies to control access
3362
+ * to this resource.</p>
3363
+ */
3364
+ tags?: Record<string, string>;
3365
+ }
3366
+ /**
3367
+ * @public
3368
+ * @enum
3369
+ */
3370
+ export declare const ConfiguredTableAnalysisRuleType: {
3371
+ readonly AGGREGATION: "AGGREGATION";
3372
+ readonly CUSTOM: "CUSTOM";
3373
+ readonly LIST: "LIST";
3374
+ };
3375
+ /**
3376
+ * @public
3377
+ */
3378
+ export type ConfiguredTableAnalysisRuleType = (typeof ConfiguredTableAnalysisRuleType)[keyof typeof ConfiguredTableAnalysisRuleType];
3379
+ /**
3380
+ * @public
3381
+ * <p>A table that has been configured for use in a collaboration.</p>
3382
+ */
3383
+ export interface ConfiguredTable {
3384
+ /**
3385
+ * @public
3386
+ * <p>The unique ID for the configured table.</p>
3387
+ */
3388
+ id: string | undefined;
3389
+ /**
3390
+ * @public
3391
+ * <p>The unique ARN for the configured table.</p>
3392
+ */
3393
+ arn: string | undefined;
3394
+ /**
3395
+ * @public
3396
+ * <p>A name for the configured table.</p>
3397
+ */
3398
+ name: string | undefined;
3399
+ /**
3400
+ * @public
3401
+ * <p>A description for the configured table.</p>
3402
+ */
3403
+ description?: string;
3404
+ /**
3405
+ * @public
3406
+ * <p>The Glue table that this configured table represents.</p>
3407
+ */
3408
+ tableReference: TableReference | undefined;
3409
+ /**
3410
+ * @public
3411
+ * <p>The time the configured table was created.</p>
3412
+ */
3413
+ createTime: Date | undefined;
3414
+ /**
3415
+ * @public
3416
+ * <p>The time the configured table was last updated</p>
3417
+ */
3418
+ updateTime: Date | undefined;
3419
+ /**
3420
+ * @public
3421
+ * <p>The types of analysis rules associated with this configured table. Currently, only one
3422
+ * analysis rule may be associated with a configured table.</p>
3423
+ */
3424
+ analysisRuleTypes: ConfiguredTableAnalysisRuleType[] | undefined;
3425
+ /**
3426
+ * @public
3427
+ * <p>The analysis method for the configured table. The only valid value is currently
3428
+ * `DIRECT_QUERY`.</p>
3429
+ */
3430
+ analysisMethod: AnalysisMethod | undefined;
3431
+ /**
3432
+ * @public
3433
+ * <p>The columns within the underlying Glue table that can be utilized within
3434
+ * collaborations.</p>
3435
+ */
3436
+ allowedColumns: string[] | undefined;
3437
+ }
3438
+ /**
3439
+ * @public
3440
+ */
3441
+ export interface CreateConfiguredTableOutput {
3442
+ /**
3443
+ * @public
3444
+ * <p>The created configured table.</p>
3445
+ */
3446
+ configuredTable: ConfiguredTable | undefined;
3447
+ }
3448
+ /**
3449
+ * @public
3450
+ * <p>Controls on the query specifications that can be run on a configured table.</p>
3451
+ */
3452
+ export type ConfiguredTableAnalysisRulePolicyV1 = ConfiguredTableAnalysisRulePolicyV1.AggregationMember | ConfiguredTableAnalysisRulePolicyV1.CustomMember | ConfiguredTableAnalysisRulePolicyV1.ListMember | ConfiguredTableAnalysisRulePolicyV1.$UnknownMember;
3453
+ /**
3454
+ * @public
3455
+ */
3456
+ export declare namespace ConfiguredTableAnalysisRulePolicyV1 {
3457
+ /**
3458
+ * @public
3459
+ * <p>Analysis rule type that enables only list queries on a configured table.</p>
3460
+ */
3461
+ interface ListMember {
3462
+ list: AnalysisRuleList;
3463
+ aggregation?: never;
3464
+ custom?: never;
3465
+ $unknown?: never;
3466
+ }
3467
+ /**
3468
+ * @public
3469
+ * <p>Analysis rule type that enables only aggregation queries on a configured table.</p>
3470
+ */
3471
+ interface AggregationMember {
3472
+ list?: never;
3473
+ aggregation: AnalysisRuleAggregation;
3474
+ custom?: never;
3475
+ $unknown?: never;
3476
+ }
3477
+ /**
3478
+ * @public
3479
+ * <p>A type of analysis rule that enables the table owner to approve custom SQL queries on
3480
+ * their configured tables. It supports differential privacy.</p>
3481
+ */
3482
+ interface CustomMember {
3483
+ list?: never;
3484
+ aggregation?: never;
3485
+ custom: AnalysisRuleCustom;
3486
+ $unknown?: never;
3487
+ }
3488
+ /**
3489
+ * @public
3490
+ */
3491
+ interface $UnknownMember {
3492
+ list?: never;
3493
+ aggregation?: never;
3494
+ custom?: never;
3495
+ $unknown: [string, any];
3496
+ }
3497
+ interface Visitor<T> {
3498
+ list: (value: AnalysisRuleList) => T;
3499
+ aggregation: (value: AnalysisRuleAggregation) => T;
3500
+ custom: (value: AnalysisRuleCustom) => T;
3501
+ _: (name: string, value: any) => T;
3502
+ }
3503
+ const visit: <T>(value: ConfiguredTableAnalysisRulePolicyV1, visitor: Visitor<T>) => T;
3504
+ }
3505
+ /**
3506
+ * @public
3507
+ * <p>Controls on the query specifications that can be run on a configured table.</p>
3508
+ */
3509
+ export type ConfiguredTableAnalysisRulePolicy = ConfiguredTableAnalysisRulePolicy.V1Member | ConfiguredTableAnalysisRulePolicy.$UnknownMember;
3510
+ /**
3511
+ * @public
3512
+ */
3513
+ export declare namespace ConfiguredTableAnalysisRulePolicy {
3514
+ /**
3515
+ * @public
3516
+ * <p>Controls on the query specifications that can be run on a configured table.</p>
3517
+ */
3518
+ interface V1Member {
3519
+ v1: ConfiguredTableAnalysisRulePolicyV1;
3520
+ $unknown?: never;
3521
+ }
3522
+ /**
3523
+ * @public
3524
+ */
3525
+ interface $UnknownMember {
3526
+ v1?: never;
3527
+ $unknown: [string, any];
3528
+ }
3529
+ interface Visitor<T> {
3530
+ v1: (value: ConfiguredTableAnalysisRulePolicyV1) => T;
3531
+ _: (name: string, value: any) => T;
3532
+ }
3533
+ const visit: <T>(value: ConfiguredTableAnalysisRulePolicy, visitor: Visitor<T>) => T;
3534
+ }
3535
+ /**
3536
+ * @public
3537
+ */
3538
+ export interface CreateConfiguredTableAnalysisRuleInput {
3539
+ /**
3540
+ * @public
3541
+ * <p>The identifier for the configured table to create the analysis rule for. Currently
3542
+ * accepts the configured table ID. </p>
3543
+ */
3544
+ configuredTableIdentifier: string | undefined;
3545
+ /**
3546
+ * @public
3547
+ * <p>The type of analysis rule.</p>
3548
+ */
3549
+ analysisRuleType: ConfiguredTableAnalysisRuleType | undefined;
3550
+ /**
3551
+ * @public
3552
+ * <p>The entire created configured table analysis rule object.</p>
3553
+ */
3554
+ analysisRulePolicy: ConfiguredTableAnalysisRulePolicy | undefined;
3555
+ }
3556
+ /**
3557
+ * @public
3558
+ * <p>A configured table analysis rule, which limits how data for this table can be
3559
+ * used.</p>
3560
+ */
3561
+ export interface ConfiguredTableAnalysisRule {
3562
+ /**
3563
+ * @public
3564
+ * <p>The unique ID for the configured table.</p>
3565
+ */
3566
+ configuredTableId: string | undefined;
3567
+ /**
3568
+ * @public
3569
+ * <p>The unique ARN for the configured table.</p>
3570
+ */
3571
+ configuredTableArn: string | undefined;
3572
+ /**
3573
+ * @public
3574
+ * <p>The policy that controls SQL query rules.</p>
3575
+ */
3576
+ policy: ConfiguredTableAnalysisRulePolicy | undefined;
3577
+ /**
3578
+ * @public
3579
+ * <p>The type of configured table analysis rule.</p>
3580
+ */
3581
+ type: ConfiguredTableAnalysisRuleType | undefined;
3582
+ /**
3583
+ * @public
3584
+ * <p>The time the configured table analysis rule was created.</p>
3585
+ */
3586
+ createTime: Date | undefined;
3587
+ /**
3588
+ * @public
3589
+ * <p>The time the configured table analysis rule was last updated.</p>
3590
+ */
3591
+ updateTime: Date | undefined;
3592
+ }
3593
+ /**
3594
+ * @public
3595
+ */
3596
+ export interface CreateConfiguredTableAnalysisRuleOutput {
3597
+ /**
3598
+ * @public
3599
+ * <p>The entire created analysis rule.</p>
3600
+ */
3601
+ analysisRule: ConfiguredTableAnalysisRule | undefined;
3602
+ }
3603
+ /**
3604
+ * @public
3605
+ */
3606
+ export interface DeleteConfiguredTableInput {
3607
+ /**
3608
+ * @public
3609
+ * <p>The unique ID for the configured table to delete.</p>
3610
+ */
3611
+ configuredTableIdentifier: string | undefined;
3612
+ }
3613
+ /**
3614
+ * @public
3615
+ * <p>The empty output for a successful deletion.</p>
3616
+ */
3617
+ export interface DeleteConfiguredTableOutput {
3618
+ }
3619
+ /**
3620
+ * @public
3621
+ */
3622
+ export interface DeleteConfiguredTableAnalysisRuleInput {
3623
+ /**
3624
+ * @public
3625
+ * <p>The unique identifier for the configured table that the analysis rule applies to.
3626
+ * Currently accepts the configured table ID.</p>
3627
+ */
3628
+ configuredTableIdentifier: string | undefined;
3629
+ /**
3630
+ * @public
3631
+ * <p>The analysis rule type to be deleted. Configured table analysis rules are uniquely
3632
+ * identified by their configured table identifier and analysis rule type.</p>
3633
+ */
3634
+ analysisRuleType: ConfiguredTableAnalysisRuleType | undefined;
3635
+ }
3636
+ /**
3637
+ * @public
3638
+ * <p>An empty response that indicates a successful delete.</p>
3639
+ */
3640
+ export interface DeleteConfiguredTableAnalysisRuleOutput {
3641
+ }
3642
+ /**
3643
+ * @public
3644
+ */
3645
+ export interface GetConfiguredTableInput {
3646
+ /**
3647
+ * @public
3648
+ * <p>The unique ID for the configured table to retrieve.</p>
3649
+ */
3650
+ configuredTableIdentifier: string | undefined;
3651
+ }
3652
+ /**
3653
+ * @public
3654
+ */
3655
+ export interface GetConfiguredTableOutput {
3656
+ /**
3657
+ * @public
3658
+ * <p>The retrieved configured table.</p>
3659
+ */
3660
+ configuredTable: ConfiguredTable | undefined;
3661
+ }
3662
+ /**
3663
+ * @public
3664
+ */
3665
+ export interface GetConfiguredTableAnalysisRuleInput {
3666
+ /**
3667
+ * @public
3668
+ * <p>The unique identifier for the configured table to retrieve. Currently accepts the
3669
+ * configured table ID.</p>
3670
+ */
3671
+ configuredTableIdentifier: string | undefined;
3672
+ /**
3673
+ * @public
3674
+ * <p>The analysis rule to be retrieved. Configured table analysis rules are uniquely
3675
+ * identified by their configured table identifier and analysis rule type.</p>
3676
+ */
3677
+ analysisRuleType: ConfiguredTableAnalysisRuleType | undefined;
3678
+ }
3679
+ /**
3680
+ * @public
3681
+ */
3682
+ export interface GetConfiguredTableAnalysisRuleOutput {
3683
+ /**
3684
+ * @public
3685
+ * <p>The entire analysis rule output.</p>
3686
+ */
3687
+ analysisRule: ConfiguredTableAnalysisRule | undefined;
3688
+ }
3689
+ /**
3690
+ * @public
3691
+ */
3692
+ export interface ListConfiguredTablesInput {
3693
+ /**
3694
+ * @public
3695
+ * <p>The token value retrieved from a previous call to access the next page of
3696
+ * results.</p>
3697
+ */
3698
+ nextToken?: string;
3699
+ /**
3700
+ * @public
3701
+ * <p>The maximum size of the results that is returned per call.</p>
3702
+ */
3703
+ maxResults?: number;
3704
+ }
3705
+ /**
3706
+ * @public
3707
+ * <p>The configured table summary for the objects listed by the request.</p>
3708
+ */
3709
+ export interface ConfiguredTableSummary {
3710
+ /**
3711
+ * @public
3712
+ * <p>The unique ID of the configured table.</p>
3713
+ */
3714
+ id: string | undefined;
3715
+ /**
3716
+ * @public
3717
+ * <p>The unique ARN of the configured table.</p>
3718
+ */
3719
+ arn: string | undefined;
3720
+ /**
3721
+ * @public
3722
+ * <p>The name of the configured table.</p>
3723
+ */
3724
+ name: string | undefined;
3725
+ /**
3726
+ * @public
3727
+ * <p>The time the configured table was created.</p>
3728
+ */
3729
+ createTime: Date | undefined;
3730
+ /**
3731
+ * @public
3732
+ * <p>The time the configured table was last updated.</p>
3733
+ */
3734
+ updateTime: Date | undefined;
3735
+ /**
3736
+ * @public
3737
+ * <p>The types of analysis rules associated with this configured table.</p>
3738
+ */
3739
+ analysisRuleTypes: ConfiguredTableAnalysisRuleType[] | undefined;
3740
+ /**
3741
+ * @public
3742
+ * <p>The analysis method for the configured tables. The only valid value is currently
3743
+ * `DIRECT_QUERY`.</p>
3744
+ */
3745
+ analysisMethod: AnalysisMethod | undefined;
3746
+ }
3747
+ /**
3748
+ * @public
3749
+ */
3750
+ export interface ListConfiguredTablesOutput {
3751
+ /**
3752
+ * @public
3753
+ * <p>The configured tables listed by the request.</p>
3754
+ */
3755
+ configuredTableSummaries: ConfiguredTableSummary[] | undefined;
3756
+ /**
3757
+ * @public
3758
+ * <p>The token value retrieved from a previous call to access the next page of
3759
+ * results.</p>
3760
+ */
3761
+ nextToken?: string;
3762
+ }
3763
+ /**
3764
+ * @public
3765
+ */
3766
+ export interface UpdateConfiguredTableInput {
3767
+ /**
3768
+ * @public
3769
+ * <p>The identifier for the configured table to update. Currently accepts the configured
3770
+ * table ID.</p>
3771
+ */
3772
+ configuredTableIdentifier: string | undefined;
3773
+ /**
3774
+ * @public
3775
+ * <p>A new name for the configured table.</p>
3776
+ */
3777
+ name?: string;
3778
+ /**
3779
+ * @public
3780
+ * <p>A new description for the configured table.</p>
3781
+ */
3782
+ description?: string;
3783
+ }
3784
+ /**
3785
+ * @public
3786
+ */
3787
+ export interface UpdateConfiguredTableOutput {
3788
+ /**
3789
+ * @public
3790
+ * <p>The updated configured table.</p>
3791
+ */
3792
+ configuredTable: ConfiguredTable | undefined;
3793
+ }
3794
+ /**
3795
+ * @public
3796
+ */
3797
+ export interface UpdateConfiguredTableAnalysisRuleInput {
3798
+ /**
3799
+ * @public
3800
+ * <p>The unique identifier for the configured table that the analysis rule applies to.
3801
+ * Currently accepts the configured table ID.</p>
3802
+ */
3803
+ configuredTableIdentifier: string | undefined;
3804
+ /**
3805
+ * @public
3806
+ * <p>The analysis rule type to be updated. Configured table analysis rules are uniquely
3807
+ * identified by their configured table identifier and analysis rule type.</p>
3808
+ */
3809
+ analysisRuleType: ConfiguredTableAnalysisRuleType | undefined;
3810
+ /**
3811
+ * @public
3812
+ * <p>The new analysis rule policy for the configured table analysis rule.</p>
3813
+ */
3814
+ analysisRulePolicy: ConfiguredTableAnalysisRulePolicy | undefined;
3815
+ }
3816
+ /**
3817
+ * @public
3818
+ */
3819
+ export interface UpdateConfiguredTableAnalysisRuleOutput {
3820
+ /**
3821
+ * @public
3822
+ * <p>The entire updated analysis rule.</p>
3823
+ */
3824
+ analysisRule: ConfiguredTableAnalysisRule | undefined;
3825
+ }
3826
+ /**
3827
+ * @public
3828
+ */
3829
+ export interface ListTagsForResourceInput {
3830
+ /**
3831
+ * @public
3832
+ * <p>The Amazon Resource Name (ARN) associated with the resource you want to list tags
3833
+ * on.</p>
3834
+ */
3835
+ resourceArn: string | undefined;
3836
+ }
3837
+ /**
3838
+ * @public
3839
+ */
3840
+ export interface ListTagsForResourceOutput {
3841
+ /**
3842
+ * @public
3843
+ * <p>A map of objects specifying each key name and value.</p>
3844
+ */
3845
+ tags: Record<string, string> | undefined;
3846
+ }
3847
+ /**
3848
+ * @public
3849
+ * @enum
3850
+ */
3851
+ export declare const ResultFormat: {
3852
+ readonly CSV: "CSV";
3853
+ readonly PARQUET: "PARQUET";
3854
+ };
3855
+ /**
3856
+ * @public
3857
+ */
3858
+ export type ResultFormat = (typeof ResultFormat)[keyof typeof ResultFormat];
3859
+ /**
3860
+ * @public
3861
+ * <p>Contains the configuration to write the query results to S3.</p>
3862
+ */
3863
+ export interface ProtectedQueryS3OutputConfiguration {
3864
+ /**
3865
+ * @public
3866
+ * <p>Intended file format of the result.</p>
3867
+ */
3868
+ resultFormat: ResultFormat | undefined;
3869
+ /**
3870
+ * @public
3871
+ * <p>The S3 bucket to unload the protected query results.</p>
3872
+ */
3873
+ bucket: string | undefined;
3874
+ /**
3875
+ * @public
3876
+ * <p>The S3 prefix to unload the protected query results.</p>
3877
+ */
3878
+ keyPrefix?: string;
3879
+ }
3880
+ /**
3881
+ * @public
3882
+ * <p>Contains configurations for protected query results.</p>
3883
+ */
3884
+ export type MembershipProtectedQueryOutputConfiguration = MembershipProtectedQueryOutputConfiguration.S3Member | MembershipProtectedQueryOutputConfiguration.$UnknownMember;
3885
+ /**
3886
+ * @public
3887
+ */
3888
+ export declare namespace MembershipProtectedQueryOutputConfiguration {
3889
+ /**
3890
+ * @public
3891
+ * <p>Contains the configuration to write the query results to S3.</p>
3892
+ */
3893
+ interface S3Member {
3894
+ s3: ProtectedQueryS3OutputConfiguration;
3895
+ $unknown?: never;
3896
+ }
3897
+ /**
3898
+ * @public
3899
+ */
3900
+ interface $UnknownMember {
3901
+ s3?: never;
3902
+ $unknown: [string, any];
3903
+ }
3904
+ interface Visitor<T> {
3905
+ s3: (value: ProtectedQueryS3OutputConfiguration) => T;
3906
+ _: (name: string, value: any) => T;
3907
+ }
3908
+ const visit: <T>(value: MembershipProtectedQueryOutputConfiguration, visitor: Visitor<T>) => T;
3909
+ }
3910
+ /**
3911
+ * @public
3912
+ * <p>Contains configurations for protected query results.</p>
3913
+ */
3914
+ export interface MembershipProtectedQueryResultConfiguration {
3915
+ /**
3916
+ * @public
3917
+ * <p>Configuration for protected query results.</p>
3918
+ */
3919
+ outputConfiguration: MembershipProtectedQueryOutputConfiguration | undefined;
3920
+ /**
3921
+ * @public
3922
+ * <p>The unique ARN for an IAM role that is used by Clean Rooms to write protected
3923
+ * query results to the result location, given by the member who can receive results.</p>
3924
+ */
3925
+ roleArn?: string;
3926
+ }
3927
+ /**
3928
+ * @public
3929
+ * <p>An object
3930
+ * representing the payment responsibilities accepted by the collaboration member for query
3931
+ * compute costs.</p>
3932
+ */
3933
+ export interface MembershipQueryComputePaymentConfig {
3934
+ /**
3935
+ * @public
3936
+ * <p>Indicates whether
3937
+ * the collaboration member has accepted to pay for query compute costs (<code>TRUE</code>) or
3938
+ * has not accepted to pay for query compute costs
3939
+ * (<code>FALSE</code>).</p>
3940
+ * <p>If the collaboration creator has not specified anyone to pay for query compute costs,
3941
+ * then the member who can query is the default payer. </p>
3942
+ * <p>An error message is returned for the following reasons: </p>
3943
+ * <ul>
3944
+ * <li>
3945
+ * <p>If you set the value to <code>FALSE</code> but you are responsible to pay for
3946
+ * query compute costs. </p>
3947
+ * </li>
3948
+ * <li>
3949
+ * <p>If you set the value to <code>TRUE</code> but you are not responsible to pay for
3950
+ * query compute costs. </p>
3951
+ * </li>
3952
+ * </ul>
3953
+ */
3954
+ isResponsible: boolean | undefined;
3955
+ }
3956
+ /**
3957
+ * @public
3958
+ * <p>An object
3959
+ * representing the payment responsibilities accepted by the collaboration
3960
+ * member.</p>
3961
+ */
3962
+ export interface MembershipPaymentConfiguration {
3963
+ /**
3964
+ * @public
3965
+ * <p>The payment
3966
+ * responsibilities accepted by the collaboration member for query compute
3967
+ * costs.</p>
3968
+ */
3969
+ queryCompute: MembershipQueryComputePaymentConfig | undefined;
3970
+ }
3971
+ /**
3972
+ * @public
3973
+ * @enum
3974
+ */
3975
+ export declare const MembershipQueryLogStatus: {
3976
+ readonly DISABLED: "DISABLED";
3977
+ readonly ENABLED: "ENABLED";
3978
+ };
3979
+ /**
3980
+ * @public
3981
+ */
3982
+ export type MembershipQueryLogStatus = (typeof MembershipQueryLogStatus)[keyof typeof MembershipQueryLogStatus];
3983
+ /**
3984
+ * @public
3985
+ */
3986
+ export interface CreateMembershipInput {
3987
+ /**
3988
+ * @public
3989
+ * <p>The unique ID for the associated collaboration.</p>
3990
+ */
3991
+ collaborationIdentifier: string | undefined;
3992
+ /**
3993
+ * @public
3994
+ * <p>An indicator as to whether query logging has been enabled or disabled for the
3995
+ * membership.</p>
3996
+ */
3997
+ queryLogStatus: MembershipQueryLogStatus | undefined;
3998
+ /**
3999
+ * @public
4000
+ * <p>An optional label that you can assign to a resource when you create it. Each tag
4001
+ * consists of a key and an optional value, both of which you define. When you use tagging,
4002
+ * you can also use tag-based access control in IAM policies to control access
4003
+ * to this resource.</p>
4004
+ */
4005
+ tags?: Record<string, string>;
4006
+ /**
4007
+ * @public
4008
+ * <p>The default
4009
+ * protected query result configuration as specified by the member who can receive
4010
+ * results.</p>
4011
+ */
4012
+ defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
4013
+ /**
4014
+ * @public
4015
+ * <p>The payment
4016
+ * responsibilities accepted by the collaboration member.</p>
4017
+ * <p>Not required if the collaboration member has the member ability to run queries. </p>
4018
+ * <p>Required if the collaboration member doesn't have the member ability to run queries but
4019
+ * is configured as a payer by the collaboration creator. </p>
4020
+ */
4021
+ paymentConfiguration?: MembershipPaymentConfiguration;
4022
+ }
4023
+ /**
4024
+ * @public
4025
+ * @enum
4026
+ */
4027
+ export declare const MembershipStatus: {
4028
+ readonly ACTIVE: "ACTIVE";
4029
+ readonly COLLABORATION_DELETED: "COLLABORATION_DELETED";
4030
+ readonly REMOVED: "REMOVED";
4031
+ };
4032
+ /**
4033
+ * @public
4034
+ */
4035
+ export type MembershipStatus = (typeof MembershipStatus)[keyof typeof MembershipStatus];
4036
+ /**
4037
+ * @public
4038
+ * <p>The membership object.</p>
4039
+ */
4040
+ export interface Membership {
4041
+ /**
4042
+ * @public
4043
+ * <p>The unique ID of the membership.</p>
4044
+ */
4045
+ id: string | undefined;
4046
+ /**
4047
+ * @public
4048
+ * <p>The unique ARN for the membership.</p>
4049
+ */
4050
+ arn: string | undefined;
4051
+ /**
4052
+ * @public
4053
+ * <p>The unique ARN for the membership's associated collaboration.</p>
4054
+ */
4055
+ collaborationArn: string | undefined;
4056
+ /**
4057
+ * @public
4058
+ * <p>The unique ID for the membership's collaboration.</p>
4059
+ */
4060
+ collaborationId: string | undefined;
4061
+ /**
4062
+ * @public
4063
+ * <p>The identifier used to reference members of the collaboration. Currently only supports
4064
+ * Amazon Web Services account ID.</p>
4065
+ */
4066
+ collaborationCreatorAccountId: string | undefined;
4067
+ /**
4068
+ * @public
4069
+ * <p>The display name of the collaboration creator.</p>
4070
+ */
4071
+ collaborationCreatorDisplayName: string | undefined;
4072
+ /**
4073
+ * @public
4074
+ * <p>The name of the membership's collaboration.</p>
4075
+ */
4076
+ collaborationName: string | undefined;
4077
+ /**
4078
+ * @public
4079
+ * <p>The time when the membership was created.</p>
4080
+ */
4081
+ createTime: Date | undefined;
4082
+ /**
4083
+ * @public
4084
+ * <p>The time the membership metadata was last updated.</p>
4085
+ */
4086
+ updateTime: Date | undefined;
4087
+ /**
4088
+ * @public
4089
+ * <p>The status of the
4090
+ * membership.</p>
4091
+ */
4092
+ status: MembershipStatus | undefined;
4093
+ /**
4094
+ * @public
4095
+ * <p>The abilities granted to the collaboration member.</p>
4096
+ */
4097
+ memberAbilities: MemberAbility[] | undefined;
4098
+ /**
4099
+ * @public
4100
+ * <p>An indicator as to whether query logging has been enabled or disabled for the
4101
+ * membership.</p>
4102
+ */
4103
+ queryLogStatus: MembershipQueryLogStatus | undefined;
4104
+ /**
4105
+ * @public
4106
+ * <p>The default protected query result configuration as specified by the member who can
4107
+ * receive results.</p>
4108
+ */
4109
+ defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
4110
+ /**
4111
+ * @public
4112
+ * <p>The payment
4113
+ * responsibilities accepted by the collaboration member.</p>
4114
+ */
4115
+ paymentConfiguration: MembershipPaymentConfiguration | undefined;
4116
+ }
4117
+ /**
4118
+ * @public
4119
+ */
4120
+ export interface CreateMembershipOutput {
4121
+ /**
4122
+ * @public
4123
+ * <p>The membership that was created.</p>
4124
+ */
4125
+ membership: Membership | undefined;
4126
+ }
4127
+ /**
4128
+ * @public
4129
+ */
4130
+ export interface DeleteMembershipInput {
4131
+ /**
4132
+ * @public
4133
+ * <p>The identifier for a membership resource.</p>
4134
+ */
4135
+ membershipIdentifier: string | undefined;
4136
+ }
4137
+ /**
4138
+ * @public
4139
+ */
4140
+ export interface DeleteMembershipOutput {
4141
+ }
4142
+ /**
4143
+ * @public
4144
+ */
4145
+ export interface GetMembershipInput {
4146
+ /**
4147
+ * @public
4148
+ * <p>The identifier for a membership resource.</p>
4149
+ */
4150
+ membershipIdentifier: string | undefined;
4151
+ }
4152
+ /**
4153
+ * @public
4154
+ */
4155
+ export interface GetMembershipOutput {
4156
+ /**
4157
+ * @public
4158
+ * <p>The membership retrieved for the provided identifier.</p>
4159
+ */
4160
+ membership: Membership | undefined;
4161
+ }
4162
+ /**
4163
+ * @public
4164
+ */
4165
+ export interface GetProtectedQueryInput {
4166
+ /**
4167
+ * @public
4168
+ * <p>The identifier for a membership in a protected query instance.</p>
4169
+ */
4170
+ membershipIdentifier: string | undefined;
4171
+ /**
4172
+ * @public
4173
+ * <p>The identifier for a protected query instance.</p>
4174
+ */
4175
+ protectedQueryIdentifier: string | undefined;
4176
+ }
4177
+ /**
4178
+ * @public
4179
+ * <p>Provides the sensitivity parameters.</p>
4180
+ */
4181
+ export interface DifferentialPrivacySensitivityParameters {
4182
+ /**
4183
+ * @public
4184
+ * <p>The type of aggregation function that was run.</p>
4185
+ */
4186
+ aggregationType: DifferentialPrivacyAggregationType | undefined;
4187
+ /**
4188
+ * @public
4189
+ * <p>The aggregation expression that was run.</p>
4190
+ */
4191
+ aggregationExpression: string | undefined;
4192
+ /**
4193
+ * @public
4194
+ * <p>The maximum number of rows contributed by a user in a SQL query.</p>
4195
+ */
4196
+ userContributionLimit: number | undefined;
4197
+ /**
4198
+ * @public
4199
+ * <p>The lower bound of the aggregation expression.</p>
4200
+ */
4201
+ minColumnValue?: number;
4202
+ /**
4203
+ * @public
4204
+ * <p>The upper bound of the aggregation expression.</p>
4205
+ */
4206
+ maxColumnValue?: number;
4207
+ }
4208
+ /**
4209
+ * @public
4210
+ * <p>An array that contains the sensitivity parameters.</p>
4211
+ */
4212
+ export interface DifferentialPrivacyParameters {
4213
+ /**
4214
+ * @public
4215
+ * <p>Provides the sensitivity parameters that you can use to better understand the total amount of noise in query results.</p>
4216
+ */
4217
+ sensitivityParameters: DifferentialPrivacySensitivityParameters[] | undefined;
4218
+ }
4219
+ /**
4220
+ * @public
4221
+ * <p>Details of errors thrown by the protected query.</p>
4222
+ */
4223
+ export interface ProtectedQueryError {
4224
+ /**
4225
+ * @public
4226
+ * <p>A description of why the query failed.</p>
4227
+ */
4228
+ message: string | undefined;
4229
+ /**
4230
+ * @public
4231
+ * <p>An error code for the error.</p>
4232
+ */
4233
+ code: string | undefined;
4234
+ }
4235
+ /**
4236
+ * @public
4237
+ * <p>Details about the member who received the query result.</p>
4238
+ */
4239
+ export interface ProtectedQuerySingleMemberOutput {
4240
+ /**
4241
+ * @public
4242
+ * <p>The Amazon Web Services account ID of the member in the collaboration who can receive results for the
4243
+ * query.</p>
4244
+ */
4245
+ accountId: string | undefined;
4246
+ }
4247
+ /**
4248
+ * @public
4249
+ * <p>Contains output information for protected queries with an S3 output type.</p>
4250
+ */
4251
+ export interface ProtectedQueryS3Output {
4252
+ /**
4253
+ * @public
4254
+ * <p>The S3 location of the result.</p>
4255
+ */
4256
+ location: string | undefined;
4257
+ }
4258
+ /**
4259
+ * @public
4260
+ * <p>Contains details about the protected query output.</p>
4261
+ */
4262
+ export type ProtectedQueryOutput = ProtectedQueryOutput.MemberListMember | ProtectedQueryOutput.S3Member | ProtectedQueryOutput.$UnknownMember;
4263
+ /**
4264
+ * @public
4265
+ */
4266
+ export declare namespace ProtectedQueryOutput {
4267
+ /**
4268
+ * @public
4269
+ * <p>If present, the output for a protected query with an `S3` output type.</p>
4270
+ */
4271
+ interface S3Member {
4272
+ s3: ProtectedQueryS3Output;
4273
+ memberList?: never;
4274
+ $unknown?: never;
4275
+ }
4276
+ /**
4277
+ * @public
4278
+ * <p>The list of member Amazon Web Services account(s) that received the results of the query. </p>
4279
+ */
4280
+ interface MemberListMember {
4281
+ s3?: never;
4282
+ memberList: ProtectedQuerySingleMemberOutput[];
4283
+ $unknown?: never;
4284
+ }
4285
+ /**
4286
+ * @public
4287
+ */
4288
+ interface $UnknownMember {
4289
+ s3?: never;
4290
+ memberList?: never;
4291
+ $unknown: [string, any];
4292
+ }
4293
+ interface Visitor<T> {
4294
+ s3: (value: ProtectedQueryS3Output) => T;
4295
+ memberList: (value: ProtectedQuerySingleMemberOutput[]) => T;
4296
+ _: (name: string, value: any) => T;
4297
+ }
4298
+ const visit: <T>(value: ProtectedQueryOutput, visitor: Visitor<T>) => T;
4299
+ }
4300
+ /**
4301
+ * @public
4302
+ * <p>Details about the query results.</p>
4303
+ */
4304
+ export interface ProtectedQueryResult {
4305
+ /**
4306
+ * @public
4307
+ * <p>The output of the protected query.</p>
4308
+ */
4309
+ output: ProtectedQueryOutput | undefined;
4310
+ }
4311
+ /**
4312
+ * @public
4313
+ * <p>Contains configuration details for protected query output.</p>
4314
+ */
4315
+ export type ProtectedQueryOutputConfiguration = ProtectedQueryOutputConfiguration.S3Member | ProtectedQueryOutputConfiguration.$UnknownMember;
4316
+ /**
4317
+ * @public
4318
+ */
4319
+ export declare namespace ProtectedQueryOutputConfiguration {
4320
+ /**
4321
+ * @public
4322
+ * <p>Required configuration for a protected query with an `S3` output type.</p>
4323
+ */
4324
+ interface S3Member {
4325
+ s3: ProtectedQueryS3OutputConfiguration;
4326
+ $unknown?: never;
4327
+ }
4328
+ /**
4329
+ * @public
4330
+ */
4331
+ interface $UnknownMember {
4332
+ s3?: never;
4333
+ $unknown: [string, any];
4334
+ }
4335
+ interface Visitor<T> {
4336
+ s3: (value: ProtectedQueryS3OutputConfiguration) => T;
4337
+ _: (name: string, value: any) => T;
4338
+ }
4339
+ const visit: <T>(value: ProtectedQueryOutputConfiguration, visitor: Visitor<T>) => T;
4340
+ }
4341
+ /**
4342
+ * @public
4343
+ * <p>Contains configurations for protected query results.</p>
4344
+ */
4345
+ export interface ProtectedQueryResultConfiguration {
4346
+ /**
4347
+ * @public
4348
+ * <p>Configuration for protected query results.</p>
4349
+ */
4350
+ outputConfiguration: ProtectedQueryOutputConfiguration | undefined;
4351
+ }
4352
+ /**
4353
+ * @public
4354
+ * <p>The parameters for the SQL type Protected Query.</p>
4355
+ */
4356
+ export interface ProtectedQuerySQLParameters {
4357
+ /**
4358
+ * @public
4359
+ * <p>The query string to be submitted.</p>
4360
+ */
4361
+ queryString?: string;
4362
+ /**
4363
+ * @public
4364
+ * <p>The Amazon Resource Name (ARN) associated with the analysis template within a
4365
+ * collaboration.</p>
4366
+ */
4367
+ analysisTemplateArn?: string;
4368
+ /**
4369
+ * @public
4370
+ * <p>The protected query SQL parameters.</p>
4371
+ */
4372
+ parameters?: Record<string, string>;
4373
+ }
4374
+ /**
4375
+ * @public
4376
+ * <p>Contains statistics about the execution of the protected query.</p>
4377
+ */
4378
+ export interface ProtectedQueryStatistics {
4379
+ /**
4380
+ * @public
4381
+ * <p>The duration of the Protected Query, from creation until query completion.</p>
4382
+ */
4383
+ totalDurationInMillis?: number;
4384
+ }
4385
+ /**
4386
+ * @public
4387
+ * @enum
4388
+ */
4389
+ export declare const ProtectedQueryStatus: {
4390
+ readonly CANCELLED: "CANCELLED";
4391
+ readonly CANCELLING: "CANCELLING";
4392
+ readonly FAILED: "FAILED";
4393
+ readonly STARTED: "STARTED";
4394
+ readonly SUBMITTED: "SUBMITTED";
4395
+ readonly SUCCESS: "SUCCESS";
4396
+ readonly TIMED_OUT: "TIMED_OUT";
4397
+ };
4398
+ /**
4399
+ * @public
4400
+ */
4401
+ export type ProtectedQueryStatus = (typeof ProtectedQueryStatus)[keyof typeof ProtectedQueryStatus];
4402
+ /**
4403
+ * @public
4404
+ * <p>The parameters for an Clean Rooms protected query.</p>
4405
+ */
4406
+ export interface ProtectedQuery {
4407
+ /**
4408
+ * @public
4409
+ * <p>The identifier for a protected query instance.</p>
3095
4410
  */
3096
- tags?: Record<string, string>;
4411
+ id: string | undefined;
3097
4412
  /**
3098
4413
  * @public
3099
- * <p>The default
3100
- * protected query result configuration as specified by the member who can receive
3101
- * results.</p>
4414
+ * <p>The identifier for the membership.</p>
3102
4415
  */
3103
- defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
4416
+ membershipId: string | undefined;
3104
4417
  /**
3105
4418
  * @public
3106
- * <p>The payment
3107
- * responsibilities accepted by the collaboration member.</p>
3108
- * <p>Not required if the collaboration member has the member ability to run queries. </p>
3109
- * <p>Required if the collaboration member doesn't have the member ability to run queries but
3110
- * is configured as a payer by the collaboration creator. </p>
4419
+ * <p>The ARN of the membership.</p>
3111
4420
  */
3112
- paymentConfiguration?: MembershipPaymentConfiguration;
4421
+ membershipArn: string | undefined;
4422
+ /**
4423
+ * @public
4424
+ * <p>The time at which the protected query was created.</p>
4425
+ */
4426
+ createTime: Date | undefined;
4427
+ /**
4428
+ * @public
4429
+ * <p>The protected query SQL parameters.</p>
4430
+ */
4431
+ sqlParameters?: ProtectedQuerySQLParameters;
4432
+ /**
4433
+ * @public
4434
+ * <p>The status of the query.</p>
4435
+ */
4436
+ status: ProtectedQueryStatus | undefined;
4437
+ /**
4438
+ * @public
4439
+ * <p>Contains any details needed to write the query results.</p>
4440
+ */
4441
+ resultConfiguration?: ProtectedQueryResultConfiguration;
4442
+ /**
4443
+ * @public
4444
+ * <p>Statistics about protected query execution.</p>
4445
+ */
4446
+ statistics?: ProtectedQueryStatistics;
4447
+ /**
4448
+ * @public
4449
+ * <p>The result of the protected query.</p>
4450
+ */
4451
+ result?: ProtectedQueryResult;
4452
+ /**
4453
+ * @public
4454
+ * <p>An error thrown by the protected query.</p>
4455
+ */
4456
+ error?: ProtectedQueryError;
4457
+ /**
4458
+ * @public
4459
+ * <p>The sensitivity parameters of the differential privacy results of the protected query.</p>
4460
+ */
4461
+ differentialPrivacy?: DifferentialPrivacyParameters;
3113
4462
  }
3114
4463
  /**
3115
4464
  * @public
3116
- * @enum
3117
4465
  */
3118
- export declare const MembershipStatus: {
3119
- readonly ACTIVE: "ACTIVE";
3120
- readonly COLLABORATION_DELETED: "COLLABORATION_DELETED";
3121
- readonly REMOVED: "REMOVED";
3122
- };
4466
+ export interface GetProtectedQueryOutput {
4467
+ /**
4468
+ * @public
4469
+ * <p>The query processing metadata.</p>
4470
+ */
4471
+ protectedQuery: ProtectedQuery | undefined;
4472
+ }
3123
4473
  /**
3124
4474
  * @public
3125
4475
  */
3126
- export type MembershipStatus = (typeof MembershipStatus)[keyof typeof MembershipStatus];
4476
+ export interface ListMembershipsInput {
4477
+ /**
4478
+ * @public
4479
+ * <p>The token value retrieved from a previous call to access the next page of
4480
+ * results.</p>
4481
+ */
4482
+ nextToken?: string;
4483
+ /**
4484
+ * @public
4485
+ * <p>The maximum size of the results that is returned per call.</p>
4486
+ */
4487
+ maxResults?: number;
4488
+ /**
4489
+ * @public
4490
+ * <p>A filter which will return only memberships in the specified status.</p>
4491
+ */
4492
+ status?: MembershipStatus;
4493
+ }
3127
4494
  /**
3128
4495
  * @public
3129
- * <p>The membership object.</p>
4496
+ * <p>The membership object listed by the request.</p>
3130
4497
  */
3131
- export interface Membership {
4498
+ export interface MembershipSummary {
3132
4499
  /**
3133
4500
  * @public
3134
- * <p>The unique ID of the membership.</p>
4501
+ * <p>The unique ID for the membership's collaboration.</p>
3135
4502
  */
3136
4503
  id: string | undefined;
3137
4504
  /**
@@ -3146,494 +4513,709 @@ export interface Membership {
3146
4513
  collaborationArn: string | undefined;
3147
4514
  /**
3148
4515
  * @public
3149
- * <p>The unique ID for the membership's collaboration.</p>
4516
+ * <p>The unique ID for the membership's collaboration.</p>
4517
+ */
4518
+ collaborationId: string | undefined;
4519
+ /**
4520
+ * @public
4521
+ * <p>The identifier of the Amazon Web Services principal that created the collaboration. Currently only
4522
+ * supports Amazon Web Services account ID.</p>
4523
+ */
4524
+ collaborationCreatorAccountId: string | undefined;
4525
+ /**
4526
+ * @public
4527
+ * <p>The display name of the collaboration creator.</p>
4528
+ */
4529
+ collaborationCreatorDisplayName: string | undefined;
4530
+ /**
4531
+ * @public
4532
+ * <p>The name for the membership's collaboration.</p>
4533
+ */
4534
+ collaborationName: string | undefined;
4535
+ /**
4536
+ * @public
4537
+ * <p>The time when the membership was created.</p>
4538
+ */
4539
+ createTime: Date | undefined;
4540
+ /**
4541
+ * @public
4542
+ * <p>The time the membership metadata was last updated.</p>
4543
+ */
4544
+ updateTime: Date | undefined;
4545
+ /**
4546
+ * @public
4547
+ * <p>The status of the
4548
+ * membership.</p>
4549
+ */
4550
+ status: MembershipStatus | undefined;
4551
+ /**
4552
+ * @public
4553
+ * <p>The abilities granted to the collaboration member.</p>
4554
+ */
4555
+ memberAbilities: MemberAbility[] | undefined;
4556
+ /**
4557
+ * @public
4558
+ * <p>The payment
4559
+ * responsibilities accepted by the collaboration member.</p>
4560
+ */
4561
+ paymentConfiguration: MembershipPaymentConfiguration | undefined;
4562
+ }
4563
+ /**
4564
+ * @public
4565
+ */
4566
+ export interface ListMembershipsOutput {
4567
+ /**
4568
+ * @public
4569
+ * <p>The token value retrieved from a previous call to access the next page of
4570
+ * results.</p>
4571
+ */
4572
+ nextToken?: string;
4573
+ /**
4574
+ * @public
4575
+ * <p>The list of memberships returned from the ListMemberships operation.</p>
4576
+ */
4577
+ membershipSummaries: MembershipSummary[] | undefined;
4578
+ }
4579
+ /**
4580
+ * @public
4581
+ */
4582
+ export interface ListPrivacyBudgetsInput {
4583
+ /**
4584
+ * @public
4585
+ * <p>A unique identifier for one of your memberships for a collaboration. The privacy budget is retrieved from the collaboration that this membership belongs to. Accepts a membership ID.</p>
4586
+ */
4587
+ membershipIdentifier: string | undefined;
4588
+ /**
4589
+ * @public
4590
+ * <p>The privacy budget type.</p>
4591
+ */
4592
+ privacyBudgetType: PrivacyBudgetType | undefined;
4593
+ /**
4594
+ * @public
4595
+ * <p>The token value retrieved from a previous call to access the next page of
4596
+ * results.</p>
4597
+ */
4598
+ nextToken?: string;
4599
+ /**
4600
+ * @public
4601
+ * <p>The maximum size of the results that is returned per call. Service chooses a default if
4602
+ * it has not been set. Service may return a nextToken even if the maximum results has not
4603
+ * been met.</p>
4604
+ */
4605
+ maxResults?: number;
4606
+ }
4607
+ /**
4608
+ * @public
4609
+ * <p>An array that summaries the specified privacy budget. This summary includes collaboration information, creation information, membership information, and privacy budget information.</p>
4610
+ */
4611
+ export interface PrivacyBudgetSummary {
4612
+ /**
4613
+ * @public
4614
+ * <p>The unique identifier of the privacy budget.</p>
4615
+ */
4616
+ id: string | undefined;
4617
+ /**
4618
+ * @public
4619
+ * <p>The unique identifier of the privacy budget template.</p>
4620
+ */
4621
+ privacyBudgetTemplateId: string | undefined;
4622
+ /**
4623
+ * @public
4624
+ * <p>The ARN of the privacy budget template.</p>
4625
+ */
4626
+ privacyBudgetTemplateArn: string | undefined;
4627
+ /**
4628
+ * @public
4629
+ * <p>The identifier for a membership resource.</p>
4630
+ */
4631
+ membershipId: string | undefined;
4632
+ /**
4633
+ * @public
4634
+ * <p>The Amazon Resource Name (ARN) of the member who created the privacy budget summary.</p>
4635
+ */
4636
+ membershipArn: string | undefined;
4637
+ /**
4638
+ * @public
4639
+ * <p>The unique identifier of the collaboration that contains this privacy budget.</p>
4640
+ */
4641
+ collaborationId: string | undefined;
4642
+ /**
4643
+ * @public
4644
+ * <p>The ARN of the collaboration that contains this privacy budget.</p>
4645
+ */
4646
+ collaborationArn: string | undefined;
4647
+ /**
4648
+ * @public
4649
+ * <p>Specifies the type of the privacy budget.</p>
4650
+ */
4651
+ type: PrivacyBudgetType | undefined;
4652
+ /**
4653
+ * @public
4654
+ * <p>The time at which the privacy budget was created.</p>
4655
+ */
4656
+ createTime: Date | undefined;
4657
+ /**
4658
+ * @public
4659
+ * <p>The most recent time at which the privacy budget was updated.</p>
4660
+ */
4661
+ updateTime: Date | undefined;
4662
+ /**
4663
+ * @public
4664
+ * <p>The provided privacy budget.</p>
4665
+ */
4666
+ budget: PrivacyBudget | undefined;
4667
+ }
4668
+ /**
4669
+ * @public
4670
+ */
4671
+ export interface ListPrivacyBudgetsOutput {
4672
+ /**
4673
+ * @public
4674
+ * <p>An array that summarizes the privacy budgets. The summary includes collaboration information, membership information, privacy budget template information, and privacy budget details.</p>
4675
+ */
4676
+ privacyBudgetSummaries: PrivacyBudgetSummary[] | undefined;
4677
+ /**
4678
+ * @public
4679
+ * <p>The token value retrieved from a previous call to access the next page of
4680
+ * results.</p>
4681
+ */
4682
+ nextToken?: string;
4683
+ }
4684
+ /**
4685
+ * @public
4686
+ */
4687
+ export interface ListProtectedQueriesInput {
4688
+ /**
4689
+ * @public
4690
+ * <p>The identifier for the membership in the collaboration.</p>
3150
4691
  */
3151
- collaborationId: string | undefined;
4692
+ membershipIdentifier: string | undefined;
3152
4693
  /**
3153
4694
  * @public
3154
- * <p>The identifier used to reference members of the collaboration. Currently only supports
3155
- * Amazon Web Services account ID.</p>
4695
+ * <p>A filter on the status of the protected query.</p>
3156
4696
  */
3157
- collaborationCreatorAccountId: string | undefined;
4697
+ status?: ProtectedQueryStatus;
3158
4698
  /**
3159
4699
  * @public
3160
- * <p>The display name of the collaboration creator.</p>
4700
+ * <p>The token value retrieved from a previous call to access the next page of
4701
+ * results.</p>
3161
4702
  */
3162
- collaborationCreatorDisplayName: string | undefined;
4703
+ nextToken?: string;
3163
4704
  /**
3164
4705
  * @public
3165
- * <p>The name of the membership's collaboration.</p>
4706
+ * <p>The maximum size of the results that is returned per call. Service chooses a default if
4707
+ * it has not been set. Service can return a nextToken even if the maximum results has not
4708
+ * been met. </p>
3166
4709
  */
3167
- collaborationName: string | undefined;
4710
+ maxResults?: number;
4711
+ }
4712
+ /**
4713
+ * @public
4714
+ * <p>The protected query summary for the objects listed by the request.</p>
4715
+ */
4716
+ export interface ProtectedQuerySummary {
3168
4717
  /**
3169
4718
  * @public
3170
- * <p>The time when the membership was created.</p>
4719
+ * <p>The unique ID of the protected query.</p>
3171
4720
  */
3172
- createTime: Date | undefined;
4721
+ id: string | undefined;
3173
4722
  /**
3174
4723
  * @public
3175
- * <p>The time the membership metadata was last updated.</p>
4724
+ * <p>The unique ID for the membership that initiated the protected query.</p>
3176
4725
  */
3177
- updateTime: Date | undefined;
4726
+ membershipId: string | undefined;
3178
4727
  /**
3179
4728
  * @public
3180
- * <p>The status of the
3181
- * membership.</p>
4729
+ * <p>The unique ARN for the membership that initiated the protected query.</p>
3182
4730
  */
3183
- status: MembershipStatus | undefined;
4731
+ membershipArn: string | undefined;
3184
4732
  /**
3185
4733
  * @public
3186
- * <p>The abilities granted to the collaboration member.</p>
4734
+ * <p>The time the protected query was created.</p>
3187
4735
  */
3188
- memberAbilities: MemberAbility[] | undefined;
4736
+ createTime: Date | undefined;
3189
4737
  /**
3190
4738
  * @public
3191
- * <p>An indicator as to whether query logging has been enabled or disabled for the
3192
- * membership.</p>
4739
+ * <p>The status of the protected query. Value values are `SUBMITTED`, `STARTED`, `CANCELLED`,
4740
+ * `CANCELLING`, `FAILED`, `SUCCESS`, `TIMED_OUT`.</p>
3193
4741
  */
3194
- queryLogStatus: MembershipQueryLogStatus | undefined;
4742
+ status: ProtectedQueryStatus | undefined;
4743
+ }
4744
+ /**
4745
+ * @public
4746
+ */
4747
+ export interface ListProtectedQueriesOutput {
3195
4748
  /**
3196
4749
  * @public
3197
- * <p>The default protected query result configuration as specified by the member who can
3198
- * receive results.</p>
4750
+ * <p>The token value retrieved from a previous call to access the next page of
4751
+ * results.</p>
3199
4752
  */
3200
- defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
4753
+ nextToken?: string;
3201
4754
  /**
3202
4755
  * @public
3203
- * <p>The payment
3204
- * responsibilities accepted by the collaboration member.</p>
4756
+ * <p>A list of protected queries.</p>
3205
4757
  */
3206
- paymentConfiguration: MembershipPaymentConfiguration | undefined;
4758
+ protectedQueries: ProtectedQuerySummary[] | undefined;
3207
4759
  }
3208
4760
  /**
3209
4761
  * @public
4762
+ * <p>The epsilon and noise parameters that you want to preview.</p>
3210
4763
  */
3211
- export interface CreateMembershipOutput {
4764
+ export interface DifferentialPrivacyPreviewParametersInput {
3212
4765
  /**
3213
4766
  * @public
3214
- * <p>The membership that was created.</p>
4767
+ * <p>The epsilon value that you want to preview.</p>
3215
4768
  */
3216
- membership: Membership | undefined;
3217
- }
3218
- /**
3219
- * @public
3220
- */
3221
- export interface DeleteMembershipInput {
4769
+ epsilon: number | undefined;
3222
4770
  /**
3223
4771
  * @public
3224
- * <p>The identifier for a membership resource.</p>
4772
+ * <p>Noise added per query is measured in terms of the number of users whose contributions you want to obscure. This value governs the rate at which the privacy budget is depleted.</p>
3225
4773
  */
3226
- membershipIdentifier: string | undefined;
4774
+ usersNoisePerQuery: number | undefined;
3227
4775
  }
3228
4776
  /**
3229
4777
  * @public
4778
+ * <p>Specifies the updated epsilon and noise parameters to preview. The preview allows you to see how the maximum number of each type of aggregation function would change with the new parameters.</p>
3230
4779
  */
3231
- export interface DeleteMembershipOutput {
3232
- }
4780
+ export type PreviewPrivacyImpactParametersInput = PreviewPrivacyImpactParametersInput.DifferentialPrivacyMember | PreviewPrivacyImpactParametersInput.$UnknownMember;
3233
4781
  /**
3234
4782
  * @public
3235
4783
  */
3236
- export interface GetMembershipInput {
4784
+ export declare namespace PreviewPrivacyImpactParametersInput {
3237
4785
  /**
3238
4786
  * @public
3239
- * <p>The identifier for a membership resource.</p>
4787
+ * <p>An array that specifies the epsilon and noise parameters.</p>
3240
4788
  */
3241
- membershipIdentifier: string | undefined;
3242
- }
3243
- /**
3244
- * @public
3245
- */
3246
- export interface GetMembershipOutput {
4789
+ interface DifferentialPrivacyMember {
4790
+ differentialPrivacy: DifferentialPrivacyPreviewParametersInput;
4791
+ $unknown?: never;
4792
+ }
3247
4793
  /**
3248
4794
  * @public
3249
- * <p>The membership retrieved for the provided identifier.</p>
3250
4795
  */
3251
- membership: Membership | undefined;
4796
+ interface $UnknownMember {
4797
+ differentialPrivacy?: never;
4798
+ $unknown: [string, any];
4799
+ }
4800
+ interface Visitor<T> {
4801
+ differentialPrivacy: (value: DifferentialPrivacyPreviewParametersInput) => T;
4802
+ _: (name: string, value: any) => T;
4803
+ }
4804
+ const visit: <T>(value: PreviewPrivacyImpactParametersInput, visitor: Visitor<T>) => T;
3252
4805
  }
3253
4806
  /**
3254
4807
  * @public
3255
4808
  */
3256
- export interface GetProtectedQueryInput {
4809
+ export interface PreviewPrivacyImpactInput {
3257
4810
  /**
3258
4811
  * @public
3259
- * <p>The identifier for a membership in a protected query instance.</p>
4812
+ * <p>A unique identifier for one of your memberships for a collaboration. Accepts a membership ID.</p>
3260
4813
  */
3261
4814
  membershipIdentifier: string | undefined;
3262
4815
  /**
3263
4816
  * @public
3264
- * <p>The identifier for a protected query instance.</p>
4817
+ * <p>Specifies the desired epsilon and noise parameters to preview.</p>
3265
4818
  */
3266
- protectedQueryIdentifier: string | undefined;
4819
+ parameters: PreviewPrivacyImpactParametersInput | undefined;
3267
4820
  }
3268
4821
  /**
3269
4822
  * @public
3270
- * <p>Details of errors thrown by the protected query.</p>
4823
+ * <p>Provides an estimate of the number of aggregation functions that the member who can query can run given the epsilon and noise parameters.</p>
3271
4824
  */
3272
- export interface ProtectedQueryError {
3273
- /**
3274
- * @public
3275
- * <p>A description of why the query failed.</p>
3276
- */
3277
- message: string | undefined;
4825
+ export interface DifferentialPrivacyPreviewAggregation {
3278
4826
  /**
3279
4827
  * @public
3280
- * <p>An error code for the error.</p>
4828
+ * <p>The type of aggregation function.</p>
3281
4829
  */
3282
- code: string | undefined;
3283
- }
3284
- /**
3285
- * @public
3286
- * <p>Details about the member who received the query result.</p>
3287
- */
3288
- export interface ProtectedQuerySingleMemberOutput {
4830
+ type: DifferentialPrivacyAggregationType | undefined;
3289
4831
  /**
3290
4832
  * @public
3291
- * <p>The Amazon Web Services account ID of the member in the collaboration who can receive results for the
3292
- * query.</p>
4833
+ * <p>The maximum number of aggregations that the member who can query can run given the epsilon and noise parameters.</p>
3293
4834
  */
3294
- accountId: string | undefined;
4835
+ maxCount: number | undefined;
3295
4836
  }
3296
4837
  /**
3297
4838
  * @public
3298
- * <p>Contains output information for protected queries with an S3 output type.</p>
4839
+ * <p>Information about the number of aggregation functions that the member who can query can run given the epsilon and noise parameters.</p>
3299
4840
  */
3300
- export interface ProtectedQueryS3Output {
4841
+ export interface DifferentialPrivacyPrivacyImpact {
3301
4842
  /**
3302
4843
  * @public
3303
- * <p>The S3 location of the result.</p>
4844
+ * <p>The number of aggregation functions that you can perform.</p>
3304
4845
  */
3305
- location: string | undefined;
4846
+ aggregations: DifferentialPrivacyPreviewAggregation[] | undefined;
3306
4847
  }
3307
4848
  /**
3308
4849
  * @public
3309
- * <p>Contains details about the protected query output.</p>
4850
+ * <p>Provides an estimate of the number of aggregation functions that the member who can query can run given the epsilon and noise parameters.</p>
3310
4851
  */
3311
- export type ProtectedQueryOutput = ProtectedQueryOutput.MemberListMember | ProtectedQueryOutput.S3Member | ProtectedQueryOutput.$UnknownMember;
4852
+ export type PrivacyImpact = PrivacyImpact.DifferentialPrivacyMember | PrivacyImpact.$UnknownMember;
3312
4853
  /**
3313
4854
  * @public
3314
4855
  */
3315
- export declare namespace ProtectedQueryOutput {
3316
- /**
3317
- * @public
3318
- * <p>If present, the output for a protected query with an `S3` output type.</p>
3319
- */
3320
- interface S3Member {
3321
- s3: ProtectedQueryS3Output;
3322
- memberList?: never;
3323
- $unknown?: never;
3324
- }
4856
+ export declare namespace PrivacyImpact {
3325
4857
  /**
3326
4858
  * @public
3327
- * <p>The list of member Amazon Web Services account(s) that received the results of the query. </p>
4859
+ * <p>An object that lists the number and type of aggregation functions you can perform.</p>
3328
4860
  */
3329
- interface MemberListMember {
3330
- s3?: never;
3331
- memberList: ProtectedQuerySingleMemberOutput[];
4861
+ interface DifferentialPrivacyMember {
4862
+ differentialPrivacy: DifferentialPrivacyPrivacyImpact;
3332
4863
  $unknown?: never;
3333
4864
  }
3334
4865
  /**
3335
4866
  * @public
3336
4867
  */
3337
4868
  interface $UnknownMember {
3338
- s3?: never;
3339
- memberList?: never;
4869
+ differentialPrivacy?: never;
3340
4870
  $unknown: [string, any];
3341
4871
  }
3342
4872
  interface Visitor<T> {
3343
- s3: (value: ProtectedQueryS3Output) => T;
3344
- memberList: (value: ProtectedQuerySingleMemberOutput[]) => T;
4873
+ differentialPrivacy: (value: DifferentialPrivacyPrivacyImpact) => T;
3345
4874
  _: (name: string, value: any) => T;
3346
4875
  }
3347
- const visit: <T>(value: ProtectedQueryOutput, visitor: Visitor<T>) => T;
4876
+ const visit: <T>(value: PrivacyImpact, visitor: Visitor<T>) => T;
3348
4877
  }
3349
4878
  /**
3350
4879
  * @public
3351
- * <p>Details about the query results.</p>
3352
4880
  */
3353
- export interface ProtectedQueryResult {
4881
+ export interface PreviewPrivacyImpactOutput {
3354
4882
  /**
3355
4883
  * @public
3356
- * <p>The output of the protected query.</p>
4884
+ * <p>An estimate of the number of aggregation functions that the member who can query can run given the epsilon and noise parameters. This does not change the privacy budget.</p>
3357
4885
  */
3358
- output: ProtectedQueryOutput | undefined;
4886
+ privacyImpact: PrivacyImpact | undefined;
3359
4887
  }
3360
4888
  /**
3361
4889
  * @public
3362
- * <p>Contains configuration details for protected query output.</p>
4890
+ * @enum
3363
4891
  */
3364
- export type ProtectedQueryOutputConfiguration = ProtectedQueryOutputConfiguration.S3Member | ProtectedQueryOutputConfiguration.$UnknownMember;
4892
+ export declare const ProtectedQueryType: {
4893
+ readonly SQL: "SQL";
4894
+ };
3365
4895
  /**
3366
4896
  * @public
3367
4897
  */
3368
- export declare namespace ProtectedQueryOutputConfiguration {
4898
+ export type ProtectedQueryType = (typeof ProtectedQueryType)[keyof typeof ProtectedQueryType];
4899
+ /**
4900
+ * @public
4901
+ */
4902
+ export interface StartProtectedQueryInput {
3369
4903
  /**
3370
4904
  * @public
3371
- * <p>Required configuration for a protected query with an `S3` output type.</p>
4905
+ * <p>The type of the protected query to be started.</p>
3372
4906
  */
3373
- interface S3Member {
3374
- s3: ProtectedQueryS3OutputConfiguration;
3375
- $unknown?: never;
3376
- }
4907
+ type: ProtectedQueryType | undefined;
3377
4908
  /**
3378
4909
  * @public
4910
+ * <p>A unique identifier for the membership to run this query against. Currently accepts a
4911
+ * membership ID.</p>
3379
4912
  */
3380
- interface $UnknownMember {
3381
- s3?: never;
3382
- $unknown: [string, any];
3383
- }
3384
- interface Visitor<T> {
3385
- s3: (value: ProtectedQueryS3OutputConfiguration) => T;
3386
- _: (name: string, value: any) => T;
3387
- }
3388
- const visit: <T>(value: ProtectedQueryOutputConfiguration, visitor: Visitor<T>) => T;
4913
+ membershipIdentifier: string | undefined;
4914
+ /**
4915
+ * @public
4916
+ * <p>The protected SQL query parameters.</p>
4917
+ */
4918
+ sqlParameters: ProtectedQuerySQLParameters | undefined;
4919
+ /**
4920
+ * @public
4921
+ * <p>The details needed to write the query results.</p>
4922
+ */
4923
+ resultConfiguration?: ProtectedQueryResultConfiguration;
3389
4924
  }
3390
4925
  /**
3391
4926
  * @public
3392
- * <p>Contains configurations for protected query results.</p>
3393
4927
  */
3394
- export interface ProtectedQueryResultConfiguration {
4928
+ export interface StartProtectedQueryOutput {
3395
4929
  /**
3396
4930
  * @public
3397
- * <p>Configuration for protected query results.</p>
4931
+ * <p>The protected query.</p>
3398
4932
  */
3399
- outputConfiguration: ProtectedQueryOutputConfiguration | undefined;
4933
+ protectedQuery: ProtectedQuery | undefined;
3400
4934
  }
3401
4935
  /**
3402
4936
  * @public
3403
- * <p>The parameters for the SQL type Protected Query.</p>
3404
4937
  */
3405
- export interface ProtectedQuerySQLParameters {
4938
+ export interface UpdateMembershipInput {
3406
4939
  /**
3407
4940
  * @public
3408
- * <p>The query string to be submitted.</p>
4941
+ * <p>The unique identifier of the membership.</p>
3409
4942
  */
3410
- queryString?: string;
4943
+ membershipIdentifier: string | undefined;
3411
4944
  /**
3412
4945
  * @public
3413
- * <p>The Amazon Resource Name (ARN) associated with the analysis template within a
3414
- * collaboration.</p>
4946
+ * <p>An indicator as to whether query logging has been enabled or disabled for the
4947
+ * membership.</p>
3415
4948
  */
3416
- analysisTemplateArn?: string;
4949
+ queryLogStatus?: MembershipQueryLogStatus;
3417
4950
  /**
3418
4951
  * @public
3419
- * <p>The protected query SQL parameters.</p>
4952
+ * <p>The default protected query result configuration as specified by the member who can
4953
+ * receive results.</p>
3420
4954
  */
3421
- parameters?: Record<string, string>;
4955
+ defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
3422
4956
  }
3423
4957
  /**
3424
4958
  * @public
3425
- * <p>Contains statistics about the execution of the protected query.</p>
3426
4959
  */
3427
- export interface ProtectedQueryStatistics {
4960
+ export interface UpdateMembershipOutput {
3428
4961
  /**
3429
4962
  * @public
3430
- * <p>The duration of the Protected Query, from creation until query completion.</p>
4963
+ * <p>The membership object.</p>
3431
4964
  */
3432
- totalDurationInMillis?: number;
4965
+ membership: Membership | undefined;
3433
4966
  }
3434
4967
  /**
3435
4968
  * @public
3436
4969
  * @enum
3437
4970
  */
3438
- export declare const ProtectedQueryStatus: {
4971
+ export declare const TargetProtectedQueryStatus: {
3439
4972
  readonly CANCELLED: "CANCELLED";
3440
- readonly CANCELLING: "CANCELLING";
3441
- readonly FAILED: "FAILED";
3442
- readonly STARTED: "STARTED";
3443
- readonly SUBMITTED: "SUBMITTED";
3444
- readonly SUCCESS: "SUCCESS";
3445
- readonly TIMED_OUT: "TIMED_OUT";
3446
4973
  };
3447
4974
  /**
3448
4975
  * @public
3449
4976
  */
3450
- export type ProtectedQueryStatus = (typeof ProtectedQueryStatus)[keyof typeof ProtectedQueryStatus];
3451
- /**
3452
- * @public
3453
- * <p>The parameters for an Clean Rooms protected query.</p>
3454
- */
3455
- export interface ProtectedQuery {
3456
- /**
3457
- * @public
3458
- * <p>The identifier for a protected query instance.</p>
3459
- */
3460
- id: string | undefined;
3461
- /**
3462
- * @public
3463
- * <p>The identifier for the membership.</p>
3464
- */
3465
- membershipId: string | undefined;
3466
- /**
3467
- * @public
3468
- * <p>The ARN of the membership.</p>
3469
- */
3470
- membershipArn: string | undefined;
3471
- /**
3472
- * @public
3473
- * <p>The time at which the protected query was created.</p>
3474
- */
3475
- createTime: Date | undefined;
4977
+ export type TargetProtectedQueryStatus = (typeof TargetProtectedQueryStatus)[keyof typeof TargetProtectedQueryStatus];
4978
+ /**
4979
+ * @public
4980
+ */
4981
+ export interface UpdateProtectedQueryInput {
3476
4982
  /**
3477
4983
  * @public
3478
- * <p>The protected query SQL parameters.</p>
4984
+ * <p>The identifier for a member of a protected query instance.</p>
3479
4985
  */
3480
- sqlParameters?: ProtectedQuerySQLParameters;
4986
+ membershipIdentifier: string | undefined;
3481
4987
  /**
3482
4988
  * @public
3483
- * <p>The status of the query.</p>
4989
+ * <p>The identifier for a protected query instance.</p>
3484
4990
  */
3485
- status: ProtectedQueryStatus | undefined;
4991
+ protectedQueryIdentifier: string | undefined;
3486
4992
  /**
3487
4993
  * @public
3488
- * <p>Contains any details needed to write the query results.</p>
4994
+ * <p>The target status of a query. Used to update the execution status of a currently running
4995
+ * query.</p>
3489
4996
  */
3490
- resultConfiguration?: ProtectedQueryResultConfiguration;
4997
+ targetStatus: TargetProtectedQueryStatus | undefined;
4998
+ }
4999
+ /**
5000
+ * @public
5001
+ */
5002
+ export interface UpdateProtectedQueryOutput {
3491
5003
  /**
3492
5004
  * @public
3493
- * <p>Statistics about protected query execution.</p>
5005
+ * <p>The protected query output.</p>
3494
5006
  */
3495
- statistics?: ProtectedQueryStatistics;
5007
+ protectedQuery: ProtectedQuery | undefined;
5008
+ }
5009
+ /**
5010
+ * @public
5011
+ * <p>The epsilon and noise parameter values that you want to use for the differential privacy template.</p>
5012
+ */
5013
+ export interface DifferentialPrivacyTemplateParametersInput {
3496
5014
  /**
3497
5015
  * @public
3498
- * <p>The result of the protected query.</p>
5016
+ * <p>The epsilon value that you want to use.</p>
3499
5017
  */
3500
- result?: ProtectedQueryResult;
5018
+ epsilon: number | undefined;
3501
5019
  /**
3502
5020
  * @public
3503
- * <p>An error thrown by the protected query.</p>
5021
+ * <p>Noise added per query is measured in terms of the number of users whose contributions you want to obscure. This value governs the rate at which the privacy budget is depleted.</p>
3504
5022
  */
3505
- error?: ProtectedQueryError;
5023
+ usersNoisePerQuery: number | undefined;
3506
5024
  }
3507
5025
  /**
3508
5026
  * @public
5027
+ * <p>The epsilon and noise parameters that you want to use for the privacy budget template.</p>
3509
5028
  */
3510
- export interface GetProtectedQueryOutput {
5029
+ export type PrivacyBudgetTemplateParametersInput = PrivacyBudgetTemplateParametersInput.DifferentialPrivacyMember | PrivacyBudgetTemplateParametersInput.$UnknownMember;
5030
+ /**
5031
+ * @public
5032
+ */
5033
+ export declare namespace PrivacyBudgetTemplateParametersInput {
3511
5034
  /**
3512
5035
  * @public
3513
- * <p>The query processing metadata.</p>
5036
+ * <p>An object that specifies the epsilon and noise parameters.</p>
3514
5037
  */
3515
- protectedQuery: ProtectedQuery | undefined;
5038
+ interface DifferentialPrivacyMember {
5039
+ differentialPrivacy: DifferentialPrivacyTemplateParametersInput;
5040
+ $unknown?: never;
5041
+ }
5042
+ /**
5043
+ * @public
5044
+ */
5045
+ interface $UnknownMember {
5046
+ differentialPrivacy?: never;
5047
+ $unknown: [string, any];
5048
+ }
5049
+ interface Visitor<T> {
5050
+ differentialPrivacy: (value: DifferentialPrivacyTemplateParametersInput) => T;
5051
+ _: (name: string, value: any) => T;
5052
+ }
5053
+ const visit: <T>(value: PrivacyBudgetTemplateParametersInput, visitor: Visitor<T>) => T;
3516
5054
  }
3517
5055
  /**
3518
5056
  * @public
3519
5057
  */
3520
- export interface ListMembershipsInput {
5058
+ export interface CreatePrivacyBudgetTemplateInput {
3521
5059
  /**
3522
5060
  * @public
3523
- * <p>The token value retrieved from a previous call to access the next page of
3524
- * results.</p>
5061
+ * <p>A unique identifier for one of your memberships for a collaboration. The privacy budget template is created in the collaboration that this membership belongs to. Accepts a membership ID.</p>
3525
5062
  */
3526
- nextToken?: string;
5063
+ membershipIdentifier: string | undefined;
3527
5064
  /**
3528
5065
  * @public
3529
- * <p>The maximum size of the results that is returned per call.</p>
5066
+ * <p>How often the privacy budget refreshes.</p>
5067
+ * <important>
5068
+ * <p>If you plan to regularly bring new data into the collaboration, you can use <code>CALENDAR_MONTH</code> to automatically get a new privacy budget for the collaboration every calendar month. Choosing this option allows arbitrary amounts of information to be revealed about rows of the data when repeatedly queries across refreshes. Avoid choosing this if the same rows will be repeatedly queried between privacy budget refreshes.</p>
5069
+ * </important>
3530
5070
  */
3531
- maxResults?: number;
5071
+ autoRefresh: PrivacyBudgetTemplateAutoRefresh | undefined;
3532
5072
  /**
3533
5073
  * @public
3534
- * <p>A filter which will return only memberships in the specified status.</p>
5074
+ * <p>Specifies the type of the privacy budget template.</p>
3535
5075
  */
3536
- status?: MembershipStatus;
5076
+ privacyBudgetType: PrivacyBudgetType | undefined;
5077
+ /**
5078
+ * @public
5079
+ * <p>Specifies your parameters for the privacy budget template.</p>
5080
+ */
5081
+ parameters: PrivacyBudgetTemplateParametersInput | undefined;
5082
+ /**
5083
+ * @public
5084
+ * <p>An optional label that you can assign to a resource when you create it. Each tag
5085
+ * consists of a key and an optional value, both of which you define. When you use tagging,
5086
+ * you can also use tag-based access control in IAM policies to control access
5087
+ * to this resource.</p>
5088
+ */
5089
+ tags?: Record<string, string>;
3537
5090
  }
3538
5091
  /**
3539
5092
  * @public
3540
- * <p>The membership object listed by the request.</p>
5093
+ * <p>An object that defines the privacy budget template.</p>
3541
5094
  */
3542
- export interface MembershipSummary {
5095
+ export interface PrivacyBudgetTemplate {
3543
5096
  /**
3544
5097
  * @public
3545
- * <p>The unique ID for the membership's collaboration.</p>
5098
+ * <p>The unique identifier of the privacy budget template.</p>
3546
5099
  */
3547
5100
  id: string | undefined;
3548
5101
  /**
3549
5102
  * @public
3550
- * <p>The unique ARN for the membership.</p>
5103
+ * <p>The ARN of the privacy budget template.</p>
3551
5104
  */
3552
5105
  arn: string | undefined;
3553
5106
  /**
3554
5107
  * @public
3555
- * <p>The unique ARN for the membership's associated collaboration.</p>
5108
+ * <p>The identifier for a membership resource.</p>
3556
5109
  */
3557
- collaborationArn: string | undefined;
5110
+ membershipId: string | undefined;
3558
5111
  /**
3559
5112
  * @public
3560
- * <p>The unique ID for the membership's collaboration.</p>
5113
+ * <p>The Amazon Resource Name (ARN) of the member who created the privacy budget template.</p>
3561
5114
  */
3562
- collaborationId: string | undefined;
5115
+ membershipArn: string | undefined;
3563
5116
  /**
3564
5117
  * @public
3565
- * <p>The identifier of the Amazon Web Services principal that created the collaboration. Currently only
3566
- * supports Amazon Web Services account ID.</p>
5118
+ * <p>The unique ID of the collaboration that contains this privacy budget template.</p>
3567
5119
  */
3568
- collaborationCreatorAccountId: string | undefined;
5120
+ collaborationId: string | undefined;
3569
5121
  /**
3570
5122
  * @public
3571
- * <p>The display name of the collaboration creator.</p>
5123
+ * <p>The ARN of the collaboration that contains this privacy budget template.</p>
3572
5124
  */
3573
- collaborationCreatorDisplayName: string | undefined;
5125
+ collaborationArn: string | undefined;
3574
5126
  /**
3575
5127
  * @public
3576
- * <p>The name for the membership's collaboration.</p>
5128
+ * <p>The time at which the privacy budget template was created.</p>
3577
5129
  */
3578
- collaborationName: string | undefined;
5130
+ createTime: Date | undefined;
3579
5131
  /**
3580
5132
  * @public
3581
- * <p>The time when the membership was created.</p>
5133
+ * <p>The most recent time at which the privacy budget template was updated.</p>
3582
5134
  */
3583
- createTime: Date | undefined;
5135
+ updateTime: Date | undefined;
3584
5136
  /**
3585
5137
  * @public
3586
- * <p>The time the membership metadata was last updated.</p>
5138
+ * <p>Specifies the type of the privacy budget template.</p>
3587
5139
  */
3588
- updateTime: Date | undefined;
5140
+ privacyBudgetType: PrivacyBudgetType | undefined;
3589
5141
  /**
3590
5142
  * @public
3591
- * <p>The status of the
3592
- * membership.</p>
5143
+ * <p>How often the privacy budget refreshes.</p>
5144
+ * <important>
5145
+ * <p>If you plan to regularly bring new data into the collaboration, use <code>CALENDAR_MONTH</code> to automatically get a new privacy budget for the collaboration every calendar month. Choosing this option allows arbitrary amounts of information to be revealed about rows of the data when repeatedly queried across refreshes. Avoid choosing this if the same rows will be repeatedly queried between privacy budget refreshes.</p>
5146
+ * </important>
3593
5147
  */
3594
- status: MembershipStatus | undefined;
5148
+ autoRefresh: PrivacyBudgetTemplateAutoRefresh | undefined;
3595
5149
  /**
3596
5150
  * @public
3597
- * <p>The abilities granted to the collaboration member.</p>
5151
+ * <p>Specifies the epislon and noise parameters for the privacy budget template.</p>
3598
5152
  */
3599
- memberAbilities: MemberAbility[] | undefined;
5153
+ parameters: PrivacyBudgetTemplateParametersOutput | undefined;
5154
+ }
5155
+ /**
5156
+ * @public
5157
+ */
5158
+ export interface CreatePrivacyBudgetTemplateOutput {
3600
5159
  /**
3601
5160
  * @public
3602
- * <p>The payment
3603
- * responsibilities accepted by the collaboration member.</p>
5161
+ * <p>A summary of the elements in the privacy budget template.</p>
3604
5162
  */
3605
- paymentConfiguration: MembershipPaymentConfiguration | undefined;
5163
+ privacyBudgetTemplate: PrivacyBudgetTemplate | undefined;
3606
5164
  }
3607
5165
  /**
3608
5166
  * @public
3609
5167
  */
3610
- export interface ListMembershipsOutput {
5168
+ export interface DeletePrivacyBudgetTemplateInput {
3611
5169
  /**
3612
5170
  * @public
3613
- * <p>The token value retrieved from a previous call to access the next page of
3614
- * results.</p>
5171
+ * <p>A unique identifier for one of your memberships for a collaboration. The privacy budget template is deleted from the collaboration that this membership belongs to. Accepts a membership ID.</p>
3615
5172
  */
3616
- nextToken?: string;
5173
+ membershipIdentifier: string | undefined;
3617
5174
  /**
3618
5175
  * @public
3619
- * <p>The list of memberships returned from the ListMemberships operation.</p>
5176
+ * <p>A unique identifier for your privacy budget template. </p>
3620
5177
  */
3621
- membershipSummaries: MembershipSummary[] | undefined;
5178
+ privacyBudgetTemplateIdentifier: string | undefined;
3622
5179
  }
3623
5180
  /**
3624
5181
  * @public
3625
5182
  */
3626
- export interface ListProtectedQueriesInput {
5183
+ export interface DeletePrivacyBudgetTemplateOutput {
5184
+ }
5185
+ /**
5186
+ * @public
5187
+ */
5188
+ export interface GetPrivacyBudgetTemplateInput {
3627
5189
  /**
3628
5190
  * @public
3629
- * <p>The identifier for the membership in the collaboration.</p>
5191
+ * <p>A unique identifier for one of your memberships for a collaboration. The privacy budget template is retrieved from the collaboration that this membership belongs to. Accepts a membership ID.</p>
3630
5192
  */
3631
5193
  membershipIdentifier: string | undefined;
3632
5194
  /**
3633
5195
  * @public
3634
- * <p>A filter on the status of the protected query.</p>
5196
+ * <p>A unique identifier for your privacy budget template.</p>
3635
5197
  */
3636
- status?: ProtectedQueryStatus;
5198
+ privacyBudgetTemplateIdentifier: string | undefined;
5199
+ }
5200
+ /**
5201
+ * @public
5202
+ */
5203
+ export interface GetPrivacyBudgetTemplateOutput {
5204
+ /**
5205
+ * @public
5206
+ * <p>Returns the details of the privacy budget template that you requested.</p>
5207
+ */
5208
+ privacyBudgetTemplate: PrivacyBudgetTemplate | undefined;
5209
+ }
5210
+ /**
5211
+ * @public
5212
+ */
5213
+ export interface ListPrivacyBudgetTemplatesInput {
5214
+ /**
5215
+ * @public
5216
+ * <p>A unique identifier for one of your memberships for a collaboration. The privacy budget templates are retrieved from the collaboration that this membership belongs to. Accepts a membership ID.</p>
5217
+ */
5218
+ membershipIdentifier: string | undefined;
3637
5219
  /**
3638
5220
  * @public
3639
5221
  * <p>The token value retrieved from a previous call to access the next page of
@@ -3643,47 +5225,66 @@ export interface ListProtectedQueriesInput {
3643
5225
  /**
3644
5226
  * @public
3645
5227
  * <p>The maximum size of the results that is returned per call. Service chooses a default if
3646
- * it has not been set. Service can return a nextToken even if the maximum results has not
3647
- * been met. </p>
5228
+ * it has not been set. Service may return a nextToken even if the maximum results has not
5229
+ * been met.</p>
3648
5230
  */
3649
5231
  maxResults?: number;
3650
5232
  }
3651
5233
  /**
3652
5234
  * @public
3653
- * <p>The protected query summary for the objects listed by the request.</p>
5235
+ * <p>A summary of the privacy budget template. The summary includes membership information, collaboration information, and creation information.</p>
3654
5236
  */
3655
- export interface ProtectedQuerySummary {
5237
+ export interface PrivacyBudgetTemplateSummary {
3656
5238
  /**
3657
5239
  * @public
3658
- * <p>The unique ID of the protected query.</p>
5240
+ * <p>The unique identifier of the privacy budget template.</p>
3659
5241
  */
3660
5242
  id: string | undefined;
3661
5243
  /**
3662
5244
  * @public
3663
- * <p>The unique ID for the membership that initiated the protected query.</p>
5245
+ * <p>The ARN of the privacy budget template.</p>
5246
+ */
5247
+ arn: string | undefined;
5248
+ /**
5249
+ * @public
5250
+ * <p>The identifier for a membership resource.</p>
3664
5251
  */
3665
5252
  membershipId: string | undefined;
3666
5253
  /**
3667
5254
  * @public
3668
- * <p>The unique ARN for the membership that initiated the protected query.</p>
5255
+ * <p>The Amazon Resource Name (ARN) of the member who created the privacy budget template.</p>
3669
5256
  */
3670
5257
  membershipArn: string | undefined;
3671
5258
  /**
3672
5259
  * @public
3673
- * <p>The time the protected query was created.</p>
5260
+ * <p>The unique ID of the collaboration that contains this privacy budget template.</p>
5261
+ */
5262
+ collaborationId: string | undefined;
5263
+ /**
5264
+ * @public
5265
+ * <p>The ARN of the collaboration that contains this privacy budget template.</p>
5266
+ */
5267
+ collaborationArn: string | undefined;
5268
+ /**
5269
+ * @public
5270
+ * <p>The type of the privacy budget template.</p>
5271
+ */
5272
+ privacyBudgetType: PrivacyBudgetType | undefined;
5273
+ /**
5274
+ * @public
5275
+ * <p>The time at which the privacy budget template was created.</p>
3674
5276
  */
3675
5277
  createTime: Date | undefined;
3676
5278
  /**
3677
5279
  * @public
3678
- * <p>The status of the protected query. Value values are `SUBMITTED`, `STARTED`, `CANCELLED`,
3679
- * `CANCELLING`, `FAILED`, `SUCCESS`, `TIMED_OUT`.</p>
5280
+ * <p>The most recent time at which the privacy budget template was updated.</p>
3680
5281
  */
3681
- status: ProtectedQueryStatus | undefined;
5282
+ updateTime: Date | undefined;
3682
5283
  }
3683
5284
  /**
3684
5285
  * @public
3685
5286
  */
3686
- export interface ListProtectedQueriesOutput {
5287
+ export interface ListPrivacyBudgetTemplatesOutput {
3687
5288
  /**
3688
5289
  * @public
3689
5290
  * <p>The token value retrieved from a previous call to access the next page of
@@ -3692,130 +5293,90 @@ export interface ListProtectedQueriesOutput {
3692
5293
  nextToken?: string;
3693
5294
  /**
3694
5295
  * @public
3695
- * <p>A list of protected queries.</p>
5296
+ * <p>An array that summarizes the privacy budget templates. The summary includes collaboration information, creation information, and privacy budget type.</p>
3696
5297
  */
3697
- protectedQueries: ProtectedQuerySummary[] | undefined;
5298
+ privacyBudgetTemplateSummaries: PrivacyBudgetTemplateSummary[] | undefined;
3698
5299
  }
3699
5300
  /**
3700
5301
  * @public
3701
- * @enum
3702
- */
3703
- export declare const ProtectedQueryType: {
3704
- readonly SQL: "SQL";
3705
- };
3706
- /**
3707
- * @public
3708
- */
3709
- export type ProtectedQueryType = (typeof ProtectedQueryType)[keyof typeof ProtectedQueryType];
3710
- /**
3711
- * @public
5302
+ * <p>The epsilon and noise parameter values that you want to update in the differential privacy template.</p>
3712
5303
  */
3713
- export interface StartProtectedQueryInput {
3714
- /**
3715
- * @public
3716
- * <p>The type of the protected query to be started.</p>
3717
- */
3718
- type: ProtectedQueryType | undefined;
3719
- /**
3720
- * @public
3721
- * <p>A unique identifier for the membership to run this query against. Currently accepts a
3722
- * membership ID.</p>
3723
- */
3724
- membershipIdentifier: string | undefined;
5304
+ export interface DifferentialPrivacyTemplateUpdateParameters {
3725
5305
  /**
3726
5306
  * @public
3727
- * <p>The protected SQL query parameters.</p>
5307
+ * <p>The updated epsilon value that you want to use.</p>
3728
5308
  */
3729
- sqlParameters: ProtectedQuerySQLParameters | undefined;
5309
+ epsilon?: number;
3730
5310
  /**
3731
5311
  * @public
3732
- * <p>The details needed to write the query results.</p>
5312
+ * <p>The updated value of noise added per query. It is measured in terms of the number of users whose contributions you want to obscure. This value governs the rate at which the privacy budget is depleted.</p>
3733
5313
  */
3734
- resultConfiguration?: ProtectedQueryResultConfiguration;
5314
+ usersNoisePerQuery?: number;
3735
5315
  }
3736
5316
  /**
3737
5317
  * @public
5318
+ * <p>The epsilon and noise parameters that you want to update in the privacy budget template.</p>
3738
5319
  */
3739
- export interface StartProtectedQueryOutput {
3740
- /**
3741
- * @public
3742
- * <p>The protected query.</p>
3743
- */
3744
- protectedQuery: ProtectedQuery | undefined;
3745
- }
5320
+ export type PrivacyBudgetTemplateUpdateParameters = PrivacyBudgetTemplateUpdateParameters.DifferentialPrivacyMember | PrivacyBudgetTemplateUpdateParameters.$UnknownMember;
3746
5321
  /**
3747
5322
  * @public
3748
5323
  */
3749
- export interface UpdateMembershipInput {
3750
- /**
3751
- * @public
3752
- * <p>The unique identifier of the membership.</p>
3753
- */
3754
- membershipIdentifier: string | undefined;
5324
+ export declare namespace PrivacyBudgetTemplateUpdateParameters {
3755
5325
  /**
3756
5326
  * @public
3757
- * <p>An indicator as to whether query logging has been enabled or disabled for the
3758
- * membership.</p>
5327
+ * <p>An object that specifies the new values for the epsilon and noise parameters.</p>
3759
5328
  */
3760
- queryLogStatus?: MembershipQueryLogStatus;
5329
+ interface DifferentialPrivacyMember {
5330
+ differentialPrivacy: DifferentialPrivacyTemplateUpdateParameters;
5331
+ $unknown?: never;
5332
+ }
3761
5333
  /**
3762
5334
  * @public
3763
- * <p>The default protected query result configuration as specified by the member who can
3764
- * receive results.</p>
3765
5335
  */
3766
- defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
5336
+ interface $UnknownMember {
5337
+ differentialPrivacy?: never;
5338
+ $unknown: [string, any];
5339
+ }
5340
+ interface Visitor<T> {
5341
+ differentialPrivacy: (value: DifferentialPrivacyTemplateUpdateParameters) => T;
5342
+ _: (name: string, value: any) => T;
5343
+ }
5344
+ const visit: <T>(value: PrivacyBudgetTemplateUpdateParameters, visitor: Visitor<T>) => T;
3767
5345
  }
3768
5346
  /**
3769
5347
  * @public
3770
5348
  */
3771
- export interface UpdateMembershipOutput {
5349
+ export interface UpdatePrivacyBudgetTemplateInput {
3772
5350
  /**
3773
5351
  * @public
3774
- * <p>The membership object.</p>
5352
+ * <p>A unique identifier for one of your memberships for a collaboration. The privacy budget template is updated in the collaboration that this membership belongs to. Accepts a membership ID.</p>
3775
5353
  */
3776
- membership: Membership | undefined;
3777
- }
3778
- /**
3779
- * @public
3780
- * @enum
3781
- */
3782
- export declare const TargetProtectedQueryStatus: {
3783
- readonly CANCELLED: "CANCELLED";
3784
- };
3785
- /**
3786
- * @public
3787
- */
3788
- export type TargetProtectedQueryStatus = (typeof TargetProtectedQueryStatus)[keyof typeof TargetProtectedQueryStatus];
3789
- /**
3790
- * @public
3791
- */
3792
- export interface UpdateProtectedQueryInput {
5354
+ membershipIdentifier: string | undefined;
3793
5355
  /**
3794
5356
  * @public
3795
- * <p>The identifier for a member of a protected query instance.</p>
5357
+ * <p>A unique identifier for your privacy budget template that you want to update.</p>
3796
5358
  */
3797
- membershipIdentifier: string | undefined;
5359
+ privacyBudgetTemplateIdentifier: string | undefined;
3798
5360
  /**
3799
5361
  * @public
3800
- * <p>The identifier for a protected query instance.</p>
5362
+ * <p>Specifies the type of the privacy budget template.</p>
3801
5363
  */
3802
- protectedQueryIdentifier: string | undefined;
5364
+ privacyBudgetType: PrivacyBudgetType | undefined;
3803
5365
  /**
3804
5366
  * @public
3805
- * <p>The target status of a query. Used to update the execution status of a currently running
3806
- * query.</p>
5367
+ * <p>Specifies the epsilon and noise parameters for the privacy budget template.</p>
3807
5368
  */
3808
- targetStatus: TargetProtectedQueryStatus | undefined;
5369
+ parameters?: PrivacyBudgetTemplateUpdateParameters;
3809
5370
  }
3810
5371
  /**
3811
5372
  * @public
3812
5373
  */
3813
- export interface UpdateProtectedQueryOutput {
5374
+ export interface UpdatePrivacyBudgetTemplateOutput {
3814
5375
  /**
3815
5376
  * @public
3816
- * <p>The protected query output.</p>
5377
+ * <p>Summary of the privacy budget template.</p>
3817
5378
  */
3818
- protectedQuery: ProtectedQuery | undefined;
5379
+ privacyBudgetTemplate: PrivacyBudgetTemplate | undefined;
3819
5380
  }
3820
5381
  /**
3821
5382
  * @public