@aws-sdk/client-cleanrooms 3.398.0 → 3.403.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.
@@ -861,6 +861,41 @@ export interface ListTagsForResourceInput {
861
861
  export interface ListTagsForResourceOutput {
862
862
  tags: Record<string, string> | undefined;
863
863
  }
864
+ export declare const ResultFormat: {
865
+ readonly CSV: "CSV";
866
+ readonly PARQUET: "PARQUET";
867
+ };
868
+ export type ResultFormat = (typeof ResultFormat)[keyof typeof ResultFormat];
869
+ export interface ProtectedQueryS3OutputConfiguration {
870
+ resultFormat: ResultFormat | string | undefined;
871
+ bucket: string | undefined;
872
+ keyPrefix?: string;
873
+ }
874
+ export type MembershipProtectedQueryOutputConfiguration =
875
+ | MembershipProtectedQueryOutputConfiguration.S3Member
876
+ | MembershipProtectedQueryOutputConfiguration.$UnknownMember;
877
+ export declare namespace MembershipProtectedQueryOutputConfiguration {
878
+ interface S3Member {
879
+ s3: ProtectedQueryS3OutputConfiguration;
880
+ $unknown?: never;
881
+ }
882
+ interface $UnknownMember {
883
+ s3?: never;
884
+ $unknown: [string, any];
885
+ }
886
+ interface Visitor<T> {
887
+ s3: (value: ProtectedQueryS3OutputConfiguration) => T;
888
+ _: (name: string, value: any) => T;
889
+ }
890
+ const visit: <T>(
891
+ value: MembershipProtectedQueryOutputConfiguration,
892
+ visitor: Visitor<T>
893
+ ) => T;
894
+ }
895
+ export interface MembershipProtectedQueryResultConfiguration {
896
+ outputConfiguration: MembershipProtectedQueryOutputConfiguration | undefined;
897
+ roleArn?: string;
898
+ }
864
899
  export declare const MembershipQueryLogStatus: {
865
900
  readonly DISABLED: "DISABLED";
866
901
  readonly ENABLED: "ENABLED";
@@ -871,6 +906,7 @@ export interface CreateMembershipInput {
871
906
  collaborationIdentifier: string | undefined;
872
907
  queryLogStatus: MembershipQueryLogStatus | string | undefined;
873
908
  tags?: Record<string, string>;
909
+ defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
874
910
  }
875
911
  export declare const MembershipStatus: {
876
912
  readonly ACTIVE: "ACTIVE";
@@ -892,6 +928,7 @@ export interface Membership {
892
928
  status: MembershipStatus | string | undefined;
893
929
  memberAbilities: (MemberAbility | string)[] | undefined;
894
930
  queryLogStatus: MembershipQueryLogStatus | string | undefined;
931
+ defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
895
932
  }
896
933
  export interface CreateMembershipOutput {
897
934
  membership: Membership | undefined;
@@ -914,23 +951,35 @@ export interface ProtectedQueryError {
914
951
  message: string | undefined;
915
952
  code: string | undefined;
916
953
  }
954
+ export interface ProtectedQuerySingleMemberOutput {
955
+ accountId: string | undefined;
956
+ }
917
957
  export interface ProtectedQueryS3Output {
918
958
  location: string | undefined;
919
959
  }
920
960
  export type ProtectedQueryOutput =
961
+ | ProtectedQueryOutput.MemberListMember
921
962
  | ProtectedQueryOutput.S3Member
922
963
  | ProtectedQueryOutput.$UnknownMember;
923
964
  export declare namespace ProtectedQueryOutput {
924
965
  interface S3Member {
925
966
  s3: ProtectedQueryS3Output;
967
+ memberList?: never;
968
+ $unknown?: never;
969
+ }
970
+ interface MemberListMember {
971
+ s3?: never;
972
+ memberList: ProtectedQuerySingleMemberOutput[];
926
973
  $unknown?: never;
927
974
  }
928
975
  interface $UnknownMember {
929
976
  s3?: never;
977
+ memberList?: never;
930
978
  $unknown: [string, any];
931
979
  }
932
980
  interface Visitor<T> {
933
981
  s3: (value: ProtectedQueryS3Output) => T;
982
+ memberList: (value: ProtectedQuerySingleMemberOutput[]) => T;
934
983
  _: (name: string, value: any) => T;
935
984
  }
936
985
  const visit: <T>(value: ProtectedQueryOutput, visitor: Visitor<T>) => T;
@@ -938,16 +987,6 @@ export declare namespace ProtectedQueryOutput {
938
987
  export interface ProtectedQueryResult {
939
988
  output: ProtectedQueryOutput | undefined;
940
989
  }
941
- export declare const ResultFormat: {
942
- readonly CSV: "CSV";
943
- readonly PARQUET: "PARQUET";
944
- };
945
- export type ResultFormat = (typeof ResultFormat)[keyof typeof ResultFormat];
946
- export interface ProtectedQueryS3OutputConfiguration {
947
- resultFormat: ResultFormat | string | undefined;
948
- bucket: string | undefined;
949
- keyPrefix?: string;
950
- }
951
990
  export type ProtectedQueryOutputConfiguration =
952
991
  | ProtectedQueryOutputConfiguration.S3Member
953
992
  | ProtectedQueryOutputConfiguration.$UnknownMember;
@@ -996,9 +1035,9 @@ export interface ProtectedQuery {
996
1035
  membershipId: string | undefined;
997
1036
  membershipArn: string | undefined;
998
1037
  createTime: Date | undefined;
999
- sqlParameters: ProtectedQuerySQLParameters | undefined;
1038
+ sqlParameters?: ProtectedQuerySQLParameters;
1000
1039
  status: ProtectedQueryStatus | string | undefined;
1001
- resultConfiguration: ProtectedQueryResultConfiguration | undefined;
1040
+ resultConfiguration?: ProtectedQueryResultConfiguration;
1002
1041
  statistics?: ProtectedQueryStatistics;
1003
1042
  result?: ProtectedQueryResult;
1004
1043
  error?: ProtectedQueryError;
@@ -1054,7 +1093,7 @@ export interface StartProtectedQueryInput {
1054
1093
  type: ProtectedQueryType | string | undefined;
1055
1094
  membershipIdentifier: string | undefined;
1056
1095
  sqlParameters: ProtectedQuerySQLParameters | undefined;
1057
- resultConfiguration: ProtectedQueryResultConfiguration | undefined;
1096
+ resultConfiguration?: ProtectedQueryResultConfiguration;
1058
1097
  }
1059
1098
  export interface StartProtectedQueryOutput {
1060
1099
  protectedQuery: ProtectedQuery | undefined;
@@ -1062,6 +1101,7 @@ export interface StartProtectedQueryOutput {
1062
1101
  export interface UpdateMembershipInput {
1063
1102
  membershipIdentifier: string | undefined;
1064
1103
  queryLogStatus?: MembershipQueryLogStatus | string;
1104
+ defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
1065
1105
  }
1066
1106
  export interface UpdateMembershipOutput {
1067
1107
  membership: Membership | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cleanrooms",
3
3
  "description": "AWS SDK for JavaScript Cleanrooms Client for Node.js, Browser and React Native",
4
- "version": "3.398.0",
4
+ "version": "3.403.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",