@aws-sdk/client-cleanrooms 3.682.0 → 3.687.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +42 -31
- package/dist-es/commands/StartProtectedQueryCommand.js +1 -2
- package/dist-es/models/models_0.js +4 -25
- package/dist-es/models/models_1.js +26 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -0
- package/dist-types/commands/CreateCollaborationCommand.d.ts +26 -0
- package/dist-types/commands/CreateMembershipCommand.d.ts +21 -0
- package/dist-types/commands/GetMembershipCommand.d.ts +13 -0
- package/dist-types/commands/ListMembersCommand.d.ts +13 -0
- package/dist-types/commands/ListMembershipsCommand.d.ts +13 -0
- package/dist-types/commands/PreviewPrivacyImpactCommand.d.ts +1 -1
- package/dist-types/commands/StartProtectedQueryCommand.d.ts +1 -2
- package/dist-types/commands/UpdateMembershipCommand.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +195 -158
- package/dist-types/models/models_1.d.ts +159 -1
- package/dist-types/ts3.4/commands/PreviewPrivacyImpactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartProtectedQueryCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +36 -70
- package/dist-types/ts3.4/models/models_1.d.ts +75 -0
- package/package.json +35 -35
|
@@ -1743,6 +1743,88 @@ export declare const MemberAbility: {
|
|
|
1743
1743
|
* @public
|
|
1744
1744
|
*/
|
|
1745
1745
|
export type MemberAbility = (typeof MemberAbility)[keyof typeof MemberAbility];
|
|
1746
|
+
/**
|
|
1747
|
+
* @public
|
|
1748
|
+
* @enum
|
|
1749
|
+
*/
|
|
1750
|
+
export declare const CustomMLMemberAbility: {
|
|
1751
|
+
readonly CAN_RECEIVE_INFERENCE_OUTPUT: "CAN_RECEIVE_INFERENCE_OUTPUT";
|
|
1752
|
+
readonly CAN_RECEIVE_MODEL_OUTPUT: "CAN_RECEIVE_MODEL_OUTPUT";
|
|
1753
|
+
};
|
|
1754
|
+
/**
|
|
1755
|
+
* @public
|
|
1756
|
+
*/
|
|
1757
|
+
export type CustomMLMemberAbility = (typeof CustomMLMemberAbility)[keyof typeof CustomMLMemberAbility];
|
|
1758
|
+
/**
|
|
1759
|
+
* <p>The ML member abilities for a collaboration member.</p>
|
|
1760
|
+
* <p>Custom ML modeling is in beta release and is subject to change. For beta terms and conditions, see <i>Betas and Previews</i> in the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a>.</p>
|
|
1761
|
+
* @public
|
|
1762
|
+
*/
|
|
1763
|
+
export interface MLMemberAbilities {
|
|
1764
|
+
/**
|
|
1765
|
+
* <p>The custom ML member abilities for a collaboration member. The inference feature is not available in the custom ML modeling beta.</p>
|
|
1766
|
+
* <p>Custom ML modeling is in beta release and is subject to change. For beta terms and conditions, see <i>Betas and Previews</i> in the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a>.</p>
|
|
1767
|
+
* @public
|
|
1768
|
+
*/
|
|
1769
|
+
customMLMemberAbilities: CustomMLMemberAbility[] | undefined;
|
|
1770
|
+
}
|
|
1771
|
+
/**
|
|
1772
|
+
* <p>An object representing the collaboration member's model inference payment responsibilities set by the
|
|
1773
|
+
* collaboration creator.</p>
|
|
1774
|
+
* @public
|
|
1775
|
+
*/
|
|
1776
|
+
export interface ModelInferencePaymentConfig {
|
|
1777
|
+
/**
|
|
1778
|
+
* <p>Indicates whether the collaboration creator has configured the collaboration member to
|
|
1779
|
+
* pay for model inference costs (<code>TRUE</code>) or has not configured the collaboration
|
|
1780
|
+
* member to pay for model inference costs (<code>FALSE</code>).</p>
|
|
1781
|
+
* <p>Exactly one member can be configured to pay for model inference costs. An error is
|
|
1782
|
+
* returned if the collaboration creator sets a <code>TRUE</code> value for more than one
|
|
1783
|
+
* member in the collaboration. </p>
|
|
1784
|
+
* <p>If the collaboration creator hasn't specified anyone as the member paying for model inference costs, then the member who can query is the default payer. An error is returned if
|
|
1785
|
+
* the collaboration creator sets a <code>FALSE</code> value for the member who can
|
|
1786
|
+
* query.</p>
|
|
1787
|
+
* @public
|
|
1788
|
+
*/
|
|
1789
|
+
isResponsible: boolean | undefined;
|
|
1790
|
+
}
|
|
1791
|
+
/**
|
|
1792
|
+
* <p>An object representing the collaboration member's model training payment responsibilities set by the
|
|
1793
|
+
* collaboration creator.</p>
|
|
1794
|
+
* @public
|
|
1795
|
+
*/
|
|
1796
|
+
export interface ModelTrainingPaymentConfig {
|
|
1797
|
+
/**
|
|
1798
|
+
* <p>Indicates whether the collaboration creator has configured the collaboration member to
|
|
1799
|
+
* pay for model training costs (<code>TRUE</code>) or has not configured the collaboration
|
|
1800
|
+
* member to pay for model training costs (<code>FALSE</code>).</p>
|
|
1801
|
+
* <p>Exactly one member can be configured to pay for model training costs. An error is
|
|
1802
|
+
* returned if the collaboration creator sets a <code>TRUE</code> value for more than one
|
|
1803
|
+
* member in the collaboration. </p>
|
|
1804
|
+
* <p>If the collaboration creator hasn't specified anyone as the member paying for model training costs, then the member who can query is the default payer. An error is returned if
|
|
1805
|
+
* the collaboration creator sets a <code>FALSE</code> value for the member who can
|
|
1806
|
+
* query.</p>
|
|
1807
|
+
* @public
|
|
1808
|
+
*/
|
|
1809
|
+
isResponsible: boolean | undefined;
|
|
1810
|
+
}
|
|
1811
|
+
/**
|
|
1812
|
+
* <p>An object representing the collaboration member's machine learning payment responsibilities set by the
|
|
1813
|
+
* collaboration creator.</p>
|
|
1814
|
+
* @public
|
|
1815
|
+
*/
|
|
1816
|
+
export interface MLPaymentConfig {
|
|
1817
|
+
/**
|
|
1818
|
+
* <p>The payment responsibilities accepted by the member for model training.</p>
|
|
1819
|
+
* @public
|
|
1820
|
+
*/
|
|
1821
|
+
modelTraining?: ModelTrainingPaymentConfig;
|
|
1822
|
+
/**
|
|
1823
|
+
* <p>The payment responsibilities accepted by the member for model inference.</p>
|
|
1824
|
+
* @public
|
|
1825
|
+
*/
|
|
1826
|
+
modelInference?: ModelInferencePaymentConfig;
|
|
1827
|
+
}
|
|
1746
1828
|
/**
|
|
1747
1829
|
* <p>An object representing the collaboration member's payment responsibilities set by the
|
|
1748
1830
|
* collaboration creator for query compute costs.</p>
|
|
@@ -1776,6 +1858,12 @@ export interface PaymentConfiguration {
|
|
|
1776
1858
|
* @public
|
|
1777
1859
|
*/
|
|
1778
1860
|
queryCompute: QueryComputePaymentConfig | undefined;
|
|
1861
|
+
/**
|
|
1862
|
+
* <p>An object representing the collaboration member's machine learning payment responsibilities set by the
|
|
1863
|
+
* collaboration creator.</p>
|
|
1864
|
+
* @public
|
|
1865
|
+
*/
|
|
1866
|
+
machineLearning?: MLPaymentConfig;
|
|
1779
1867
|
}
|
|
1780
1868
|
/**
|
|
1781
1869
|
* <p>The settings for client-side encryption for cryptographic computing.</p>
|
|
@@ -1824,6 +1912,12 @@ export interface MemberSpecification {
|
|
|
1824
1912
|
* @public
|
|
1825
1913
|
*/
|
|
1826
1914
|
memberAbilities: MemberAbility[] | undefined;
|
|
1915
|
+
/**
|
|
1916
|
+
* <p>The ML abilities granted to the collaboration member.</p>
|
|
1917
|
+
* <p>Custom ML modeling is in beta release and is subject to change. For beta terms and conditions, see <i>Betas and Previews</i> in the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a>.</p>
|
|
1918
|
+
* @public
|
|
1919
|
+
*/
|
|
1920
|
+
mlMemberAbilities?: MLMemberAbilities;
|
|
1827
1921
|
/**
|
|
1828
1922
|
* <p>The member's display name.</p>
|
|
1829
1923
|
* @public
|
|
@@ -1873,6 +1967,12 @@ export interface CreateCollaborationInput {
|
|
|
1873
1967
|
* @public
|
|
1874
1968
|
*/
|
|
1875
1969
|
creatorMemberAbilities: MemberAbility[] | undefined;
|
|
1970
|
+
/**
|
|
1971
|
+
* <p>The ML abilities granted to the collaboration creator.</p>
|
|
1972
|
+
* <p>Custom ML modeling is in beta release and is subject to change. For beta terms and conditions, see <i>Betas and Previews</i> in the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a>.</p>
|
|
1973
|
+
* @public
|
|
1974
|
+
*/
|
|
1975
|
+
creatorMLMemberAbilities?: MLMemberAbilities;
|
|
1876
1976
|
/**
|
|
1877
1977
|
* <p>The display name of the collaboration creator.</p>
|
|
1878
1978
|
* @public
|
|
@@ -3230,6 +3330,12 @@ export interface MemberSummary {
|
|
|
3230
3330
|
* @public
|
|
3231
3331
|
*/
|
|
3232
3332
|
abilities: MemberAbility[] | undefined;
|
|
3333
|
+
/**
|
|
3334
|
+
* <p>Provides a summary of the ML abilities for the collaboration member.</p>
|
|
3335
|
+
* <p>Custom ML modeling is in beta release and is subject to change. For beta terms and conditions, see <i>Betas and Previews</i> in the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a>.</p>
|
|
3336
|
+
* @public
|
|
3337
|
+
*/
|
|
3338
|
+
mlAbilities?: MLMemberAbilities;
|
|
3233
3339
|
/**
|
|
3234
3340
|
* <p>The time when the member was created.</p>
|
|
3235
3341
|
* @public
|
|
@@ -5625,6 +5731,77 @@ export interface MembershipProtectedQueryResultConfiguration {
|
|
|
5625
5731
|
*/
|
|
5626
5732
|
roleArn?: string;
|
|
5627
5733
|
}
|
|
5734
|
+
/**
|
|
5735
|
+
* <p>An object representing the collaboration member's model inference payment responsibilities set by the
|
|
5736
|
+
* collaboration creator.</p>
|
|
5737
|
+
* @public
|
|
5738
|
+
*/
|
|
5739
|
+
export interface MembershipModelInferencePaymentConfig {
|
|
5740
|
+
/**
|
|
5741
|
+
* <p>Indicates whether the collaboration member has accepted to pay for model inference costs
|
|
5742
|
+
* (<code>TRUE</code>) or has not accepted to pay for model inference costs
|
|
5743
|
+
* (<code>FALSE</code>).</p>
|
|
5744
|
+
* <p>If the collaboration creator has not specified anyone to pay for model inference costs,
|
|
5745
|
+
* then the member who can query is the default payer. </p>
|
|
5746
|
+
* <p>An error message is returned for the following reasons: </p>
|
|
5747
|
+
* <ul>
|
|
5748
|
+
* <li>
|
|
5749
|
+
* <p>If you set the value to <code>FALSE</code> but you are responsible to pay for
|
|
5750
|
+
* model inference costs. </p>
|
|
5751
|
+
* </li>
|
|
5752
|
+
* <li>
|
|
5753
|
+
* <p>If you set the value to <code>TRUE</code> but you are not responsible to pay for
|
|
5754
|
+
* model inference costs. </p>
|
|
5755
|
+
* </li>
|
|
5756
|
+
* </ul>
|
|
5757
|
+
* @public
|
|
5758
|
+
*/
|
|
5759
|
+
isResponsible: boolean | undefined;
|
|
5760
|
+
}
|
|
5761
|
+
/**
|
|
5762
|
+
* <p>An object representing the collaboration member's model training payment responsibilities set by the
|
|
5763
|
+
* collaboration creator.</p>
|
|
5764
|
+
* @public
|
|
5765
|
+
*/
|
|
5766
|
+
export interface MembershipModelTrainingPaymentConfig {
|
|
5767
|
+
/**
|
|
5768
|
+
* <p>Indicates whether the collaboration member has accepted to pay for model training costs
|
|
5769
|
+
* (<code>TRUE</code>) or has not accepted to pay for model training costs
|
|
5770
|
+
* (<code>FALSE</code>).</p>
|
|
5771
|
+
* <p>If the collaboration creator has not specified anyone to pay for model training costs,
|
|
5772
|
+
* then the member who can query is the default payer. </p>
|
|
5773
|
+
* <p>An error message is returned for the following reasons: </p>
|
|
5774
|
+
* <ul>
|
|
5775
|
+
* <li>
|
|
5776
|
+
* <p>If you set the value to <code>FALSE</code> but you are responsible to pay for
|
|
5777
|
+
* model training costs. </p>
|
|
5778
|
+
* </li>
|
|
5779
|
+
* <li>
|
|
5780
|
+
* <p>If you set the value to <code>TRUE</code> but you are not responsible to pay for
|
|
5781
|
+
* model training costs. </p>
|
|
5782
|
+
* </li>
|
|
5783
|
+
* </ul>
|
|
5784
|
+
* @public
|
|
5785
|
+
*/
|
|
5786
|
+
isResponsible: boolean | undefined;
|
|
5787
|
+
}
|
|
5788
|
+
/**
|
|
5789
|
+
* <p>An object representing the collaboration member's machine learning payment responsibilities set by the
|
|
5790
|
+
* collaboration creator.</p>
|
|
5791
|
+
* @public
|
|
5792
|
+
*/
|
|
5793
|
+
export interface MembershipMLPaymentConfig {
|
|
5794
|
+
/**
|
|
5795
|
+
* <p>The payment responsibilities accepted by the member for model training.</p>
|
|
5796
|
+
* @public
|
|
5797
|
+
*/
|
|
5798
|
+
modelTraining?: MembershipModelTrainingPaymentConfig;
|
|
5799
|
+
/**
|
|
5800
|
+
* <p>The payment responsibilities accepted by the member for model inference.</p>
|
|
5801
|
+
* @public
|
|
5802
|
+
*/
|
|
5803
|
+
modelInference?: MembershipModelInferencePaymentConfig;
|
|
5804
|
+
}
|
|
5628
5805
|
/**
|
|
5629
5806
|
* <p>An object representing the payment responsibilities accepted by the collaboration member
|
|
5630
5807
|
* for query compute costs.</p>
|
|
@@ -5664,6 +5841,12 @@ export interface MembershipPaymentConfiguration {
|
|
|
5664
5841
|
* @public
|
|
5665
5842
|
*/
|
|
5666
5843
|
queryCompute: MembershipQueryComputePaymentConfig | undefined;
|
|
5844
|
+
/**
|
|
5845
|
+
* <p>The payment responsibilities accepted by the collaboration member for machine learning
|
|
5846
|
+
* costs.</p>
|
|
5847
|
+
* @public
|
|
5848
|
+
*/
|
|
5849
|
+
machineLearning?: MembershipMLPaymentConfig;
|
|
5667
5850
|
}
|
|
5668
5851
|
/**
|
|
5669
5852
|
* @public
|
|
@@ -5789,6 +5972,12 @@ export interface Membership {
|
|
|
5789
5972
|
* @public
|
|
5790
5973
|
*/
|
|
5791
5974
|
memberAbilities: MemberAbility[] | undefined;
|
|
5975
|
+
/**
|
|
5976
|
+
* <p>Specifies the ML member abilities that are granted to a collaboration member.</p>
|
|
5977
|
+
* <p>Custom ML modeling is in beta release and is subject to change. For beta terms and conditions, see <i>Betas and Previews</i> in the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a>.</p>
|
|
5978
|
+
* @public
|
|
5979
|
+
*/
|
|
5980
|
+
mlMemberAbilities?: MLMemberAbilities;
|
|
5792
5981
|
/**
|
|
5793
5982
|
* <p>An indicator as to whether query logging has been enabled or disabled for the
|
|
5794
5983
|
* membership.</p>
|
|
@@ -6348,6 +6537,12 @@ export interface MembershipSummary {
|
|
|
6348
6537
|
* @public
|
|
6349
6538
|
*/
|
|
6350
6539
|
memberAbilities: MemberAbility[] | undefined;
|
|
6540
|
+
/**
|
|
6541
|
+
* <p>Provides a summary of the ML abilities for the collaboration member.</p>
|
|
6542
|
+
* <p>Custom ML modeling is in beta release and is subject to change. For beta terms and conditions, see <i>Betas and Previews</i> in the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a>.</p>
|
|
6543
|
+
* @public
|
|
6544
|
+
*/
|
|
6545
|
+
mlMemberAbilities?: MLMemberAbilities;
|
|
6351
6546
|
/**
|
|
6352
6547
|
* <p>The payment responsibilities accepted by the collaboration member.</p>
|
|
6353
6548
|
* @public
|
|
@@ -6621,160 +6816,6 @@ export interface DifferentialPrivacyPreviewParametersInput {
|
|
|
6621
6816
|
*/
|
|
6622
6817
|
usersNoisePerQuery: number | undefined;
|
|
6623
6818
|
}
|
|
6624
|
-
/**
|
|
6625
|
-
* <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>
|
|
6626
|
-
* @public
|
|
6627
|
-
*/
|
|
6628
|
-
export type PreviewPrivacyImpactParametersInput = PreviewPrivacyImpactParametersInput.DifferentialPrivacyMember | PreviewPrivacyImpactParametersInput.$UnknownMember;
|
|
6629
|
-
/**
|
|
6630
|
-
* @public
|
|
6631
|
-
*/
|
|
6632
|
-
export declare namespace PreviewPrivacyImpactParametersInput {
|
|
6633
|
-
/**
|
|
6634
|
-
* <p>An array that specifies the epsilon and noise parameters.</p>
|
|
6635
|
-
* @public
|
|
6636
|
-
*/
|
|
6637
|
-
interface DifferentialPrivacyMember {
|
|
6638
|
-
differentialPrivacy: DifferentialPrivacyPreviewParametersInput;
|
|
6639
|
-
$unknown?: never;
|
|
6640
|
-
}
|
|
6641
|
-
/**
|
|
6642
|
-
* @public
|
|
6643
|
-
*/
|
|
6644
|
-
interface $UnknownMember {
|
|
6645
|
-
differentialPrivacy?: never;
|
|
6646
|
-
$unknown: [string, any];
|
|
6647
|
-
}
|
|
6648
|
-
interface Visitor<T> {
|
|
6649
|
-
differentialPrivacy: (value: DifferentialPrivacyPreviewParametersInput) => T;
|
|
6650
|
-
_: (name: string, value: any) => T;
|
|
6651
|
-
}
|
|
6652
|
-
const visit: <T>(value: PreviewPrivacyImpactParametersInput, visitor: Visitor<T>) => T;
|
|
6653
|
-
}
|
|
6654
|
-
/**
|
|
6655
|
-
* @public
|
|
6656
|
-
*/
|
|
6657
|
-
export interface PreviewPrivacyImpactInput {
|
|
6658
|
-
/**
|
|
6659
|
-
* <p>A unique identifier for one of your memberships for a collaboration. Accepts a membership ID.</p>
|
|
6660
|
-
* @public
|
|
6661
|
-
*/
|
|
6662
|
-
membershipIdentifier: string | undefined;
|
|
6663
|
-
/**
|
|
6664
|
-
* <p>Specifies the desired epsilon and noise parameters to preview.</p>
|
|
6665
|
-
* @public
|
|
6666
|
-
*/
|
|
6667
|
-
parameters: PreviewPrivacyImpactParametersInput | undefined;
|
|
6668
|
-
}
|
|
6669
|
-
/**
|
|
6670
|
-
* <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>
|
|
6671
|
-
* @public
|
|
6672
|
-
*/
|
|
6673
|
-
export interface DifferentialPrivacyPreviewAggregation {
|
|
6674
|
-
/**
|
|
6675
|
-
* <p>The type of aggregation function.</p>
|
|
6676
|
-
* @public
|
|
6677
|
-
*/
|
|
6678
|
-
type: DifferentialPrivacyAggregationType | undefined;
|
|
6679
|
-
/**
|
|
6680
|
-
* <p>The maximum number of aggregations that the member who can query can run given the epsilon and noise parameters.</p>
|
|
6681
|
-
* @public
|
|
6682
|
-
*/
|
|
6683
|
-
maxCount: number | undefined;
|
|
6684
|
-
}
|
|
6685
|
-
/**
|
|
6686
|
-
* <p>Information about the number of aggregation functions that the member who can query can run given the epsilon and noise parameters.</p>
|
|
6687
|
-
* @public
|
|
6688
|
-
*/
|
|
6689
|
-
export interface DifferentialPrivacyPrivacyImpact {
|
|
6690
|
-
/**
|
|
6691
|
-
* <p>The number of aggregation functions that you can perform.</p>
|
|
6692
|
-
* @public
|
|
6693
|
-
*/
|
|
6694
|
-
aggregations: DifferentialPrivacyPreviewAggregation[] | undefined;
|
|
6695
|
-
}
|
|
6696
|
-
/**
|
|
6697
|
-
* <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>
|
|
6698
|
-
* @public
|
|
6699
|
-
*/
|
|
6700
|
-
export type PrivacyImpact = PrivacyImpact.DifferentialPrivacyMember | PrivacyImpact.$UnknownMember;
|
|
6701
|
-
/**
|
|
6702
|
-
* @public
|
|
6703
|
-
*/
|
|
6704
|
-
export declare namespace PrivacyImpact {
|
|
6705
|
-
/**
|
|
6706
|
-
* <p>An object that lists the number and type of aggregation functions you can perform.</p>
|
|
6707
|
-
* @public
|
|
6708
|
-
*/
|
|
6709
|
-
interface DifferentialPrivacyMember {
|
|
6710
|
-
differentialPrivacy: DifferentialPrivacyPrivacyImpact;
|
|
6711
|
-
$unknown?: never;
|
|
6712
|
-
}
|
|
6713
|
-
/**
|
|
6714
|
-
* @public
|
|
6715
|
-
*/
|
|
6716
|
-
interface $UnknownMember {
|
|
6717
|
-
differentialPrivacy?: never;
|
|
6718
|
-
$unknown: [string, any];
|
|
6719
|
-
}
|
|
6720
|
-
interface Visitor<T> {
|
|
6721
|
-
differentialPrivacy: (value: DifferentialPrivacyPrivacyImpact) => T;
|
|
6722
|
-
_: (name: string, value: any) => T;
|
|
6723
|
-
}
|
|
6724
|
-
const visit: <T>(value: PrivacyImpact, visitor: Visitor<T>) => T;
|
|
6725
|
-
}
|
|
6726
|
-
/**
|
|
6727
|
-
* @public
|
|
6728
|
-
*/
|
|
6729
|
-
export interface PreviewPrivacyImpactOutput {
|
|
6730
|
-
/**
|
|
6731
|
-
* <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>
|
|
6732
|
-
* @public
|
|
6733
|
-
*/
|
|
6734
|
-
privacyImpact: PrivacyImpact | undefined;
|
|
6735
|
-
}
|
|
6736
|
-
/**
|
|
6737
|
-
* @public
|
|
6738
|
-
* @enum
|
|
6739
|
-
*/
|
|
6740
|
-
export declare const ProtectedQueryType: {
|
|
6741
|
-
readonly SQL: "SQL";
|
|
6742
|
-
};
|
|
6743
|
-
/**
|
|
6744
|
-
* @public
|
|
6745
|
-
*/
|
|
6746
|
-
export type ProtectedQueryType = (typeof ProtectedQueryType)[keyof typeof ProtectedQueryType];
|
|
6747
|
-
/**
|
|
6748
|
-
* @public
|
|
6749
|
-
*/
|
|
6750
|
-
export interface StartProtectedQueryInput {
|
|
6751
|
-
/**
|
|
6752
|
-
* <p>The type of the protected query to be started.</p>
|
|
6753
|
-
* @public
|
|
6754
|
-
*/
|
|
6755
|
-
type: ProtectedQueryType | undefined;
|
|
6756
|
-
/**
|
|
6757
|
-
* <p>A unique identifier for the membership to run this query against. Currently accepts a
|
|
6758
|
-
* membership ID.</p>
|
|
6759
|
-
* @public
|
|
6760
|
-
*/
|
|
6761
|
-
membershipIdentifier: string | undefined;
|
|
6762
|
-
/**
|
|
6763
|
-
* <p>The protected SQL query parameters.</p>
|
|
6764
|
-
* @public
|
|
6765
|
-
*/
|
|
6766
|
-
sqlParameters: ProtectedQuerySQLParameters | undefined;
|
|
6767
|
-
/**
|
|
6768
|
-
* <p>The details needed to write the query results.</p>
|
|
6769
|
-
* @public
|
|
6770
|
-
*/
|
|
6771
|
-
resultConfiguration?: ProtectedQueryResultConfiguration;
|
|
6772
|
-
/**
|
|
6773
|
-
* <p> The compute configuration for the protected query.</p>
|
|
6774
|
-
* @public
|
|
6775
|
-
*/
|
|
6776
|
-
computeConfiguration?: ComputeConfiguration;
|
|
6777
|
-
}
|
|
6778
6819
|
/**
|
|
6779
6820
|
* @internal
|
|
6780
6821
|
*/
|
|
@@ -6827,7 +6868,3 @@ export declare const ProtectedQueryFilterSensitiveLog: (obj: ProtectedQuery) =>
|
|
|
6827
6868
|
* @internal
|
|
6828
6869
|
*/
|
|
6829
6870
|
export declare const GetProtectedQueryOutputFilterSensitiveLog: (obj: GetProtectedQueryOutput) => any;
|
|
6830
|
-
/**
|
|
6831
|
-
* @internal
|
|
6832
|
-
*/
|
|
6833
|
-
export declare const StartProtectedQueryInputFilterSensitiveLog: (obj: StartProtectedQueryInput) => any;
|
|
@@ -1,4 +1,158 @@
|
|
|
1
|
-
import { Membership, MembershipProtectedQueryResultConfiguration, MembershipQueryLogStatus, PrivacyBudgetTemplateAutoRefresh, PrivacyBudgetTemplateParametersOutput, PrivacyBudgetType, ProtectedQuery } from "./models_0";
|
|
1
|
+
import { ComputeConfiguration, DifferentialPrivacyAggregationType, DifferentialPrivacyPreviewParametersInput, Membership, MembershipProtectedQueryResultConfiguration, MembershipQueryLogStatus, PrivacyBudgetTemplateAutoRefresh, PrivacyBudgetTemplateParametersOutput, PrivacyBudgetType, ProtectedQuery, ProtectedQueryResultConfiguration, ProtectedQuerySQLParameters } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* <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>
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type PreviewPrivacyImpactParametersInput = PreviewPrivacyImpactParametersInput.DifferentialPrivacyMember | PreviewPrivacyImpactParametersInput.$UnknownMember;
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare namespace PreviewPrivacyImpactParametersInput {
|
|
11
|
+
/**
|
|
12
|
+
* <p>An array that specifies the epsilon and noise parameters.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
interface DifferentialPrivacyMember {
|
|
16
|
+
differentialPrivacy: DifferentialPrivacyPreviewParametersInput;
|
|
17
|
+
$unknown?: never;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
interface $UnknownMember {
|
|
23
|
+
differentialPrivacy?: never;
|
|
24
|
+
$unknown: [string, any];
|
|
25
|
+
}
|
|
26
|
+
interface Visitor<T> {
|
|
27
|
+
differentialPrivacy: (value: DifferentialPrivacyPreviewParametersInput) => T;
|
|
28
|
+
_: (name: string, value: any) => T;
|
|
29
|
+
}
|
|
30
|
+
const visit: <T>(value: PreviewPrivacyImpactParametersInput, visitor: Visitor<T>) => T;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface PreviewPrivacyImpactInput {
|
|
36
|
+
/**
|
|
37
|
+
* <p>A unique identifier for one of your memberships for a collaboration. Accepts a membership ID.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
membershipIdentifier: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>Specifies the desired epsilon and noise parameters to preview.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
parameters: PreviewPrivacyImpactParametersInput | undefined;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* <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>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export interface DifferentialPrivacyPreviewAggregation {
|
|
52
|
+
/**
|
|
53
|
+
* <p>The type of aggregation function.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
type: DifferentialPrivacyAggregationType | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The maximum number of aggregations that the member who can query can run given the epsilon and noise parameters.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
maxCount: number | undefined;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>Information about the number of aggregation functions that the member who can query can run given the epsilon and noise parameters.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export interface DifferentialPrivacyPrivacyImpact {
|
|
68
|
+
/**
|
|
69
|
+
* <p>The number of aggregation functions that you can perform.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
aggregations: DifferentialPrivacyPreviewAggregation[] | undefined;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <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>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export type PrivacyImpact = PrivacyImpact.DifferentialPrivacyMember | PrivacyImpact.$UnknownMember;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare namespace PrivacyImpact {
|
|
83
|
+
/**
|
|
84
|
+
* <p>An object that lists the number and type of aggregation functions you can perform.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
interface DifferentialPrivacyMember {
|
|
88
|
+
differentialPrivacy: DifferentialPrivacyPrivacyImpact;
|
|
89
|
+
$unknown?: never;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
interface $UnknownMember {
|
|
95
|
+
differentialPrivacy?: never;
|
|
96
|
+
$unknown: [string, any];
|
|
97
|
+
}
|
|
98
|
+
interface Visitor<T> {
|
|
99
|
+
differentialPrivacy: (value: DifferentialPrivacyPrivacyImpact) => T;
|
|
100
|
+
_: (name: string, value: any) => T;
|
|
101
|
+
}
|
|
102
|
+
const visit: <T>(value: PrivacyImpact, visitor: Visitor<T>) => T;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export interface PreviewPrivacyImpactOutput {
|
|
108
|
+
/**
|
|
109
|
+
* <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>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
privacyImpact: PrivacyImpact | undefined;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* @enum
|
|
117
|
+
*/
|
|
118
|
+
export declare const ProtectedQueryType: {
|
|
119
|
+
readonly SQL: "SQL";
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export type ProtectedQueryType = (typeof ProtectedQueryType)[keyof typeof ProtectedQueryType];
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export interface StartProtectedQueryInput {
|
|
129
|
+
/**
|
|
130
|
+
* <p>The type of the protected query to be started.</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
type: ProtectedQueryType | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* <p>A unique identifier for the membership to run this query against. Currently accepts a
|
|
136
|
+
* membership ID.</p>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
membershipIdentifier: string | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* <p>The protected SQL query parameters.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
sqlParameters: ProtectedQuerySQLParameters | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* <p>The details needed to write the query results.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
resultConfiguration?: ProtectedQueryResultConfiguration;
|
|
150
|
+
/**
|
|
151
|
+
* <p> The compute configuration for the protected query.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
computeConfiguration?: ComputeConfiguration;
|
|
155
|
+
}
|
|
2
156
|
/**
|
|
3
157
|
* @public
|
|
4
158
|
*/
|
|
@@ -493,6 +647,10 @@ export interface UntagResourceInput {
|
|
|
493
647
|
*/
|
|
494
648
|
export interface UntagResourceOutput {
|
|
495
649
|
}
|
|
650
|
+
/**
|
|
651
|
+
* @internal
|
|
652
|
+
*/
|
|
653
|
+
export declare const StartProtectedQueryInputFilterSensitiveLog: (obj: StartProtectedQueryInput) => any;
|
|
496
654
|
/**
|
|
497
655
|
* @internal
|
|
498
656
|
*/
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../CleanRoomsClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
StartProtectedQueryInput,
|
|
10
|
+
StartProtectedQueryOutput,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface StartProtectedQueryCommandInput
|