Skip to content

Commit 660aef3

Browse files
author
AWS
committed
AWS Clean Rooms Service Update: Initial release of AWS Clean Rooms
1 parent d849575 commit 660aef3

File tree

7 files changed

+4224
-0
lines changed

7 files changed

+4224
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Clean Rooms Service",
4+
"contributor": "",
5+
"description": "Initial release of AWS Clean Rooms"
6+
}

services/cleanrooms/pom.xml

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
~ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License").
6+
~ You may not use this file except in compliance with the License.
7+
~ A copy of the License is located at
8+
~
9+
~ http://aws.amazon.com/apache2.0
10+
~
11+
~ or in the "license" file accompanying this file. This file is distributed
12+
~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+
~ express or implied. See the License for the specific language governing
14+
~ permissions and limitations under the License.
15+
-->
16+
17+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
18+
xmlns="http://maven.apache.org/POM/4.0.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
20+
<modelVersion>4.0.0</modelVersion>
21+
<parent>
22+
<groupId>software.amazon.awssdk</groupId>
23+
<artifactId>services</artifactId>
24+
<version>2.19.16-SNAPSHOT</version>
25+
</parent>
26+
<artifactId>cleanrooms</artifactId>
27+
<name>AWS Java SDK :: Services :: Clean Rooms</name>
28+
<description>The AWS Java SDK for Clean Rooms module holds the client classes that are used for
29+
communicating with Clean Rooms.
30+
</description>
31+
<url>https://aws.amazon.com/sdkforjava</url>
32+
<build>
33+
<plugins>
34+
<plugin>
35+
<groupId>org.apache.maven.plugins</groupId>
36+
<artifactId>maven-jar-plugin</artifactId>
37+
<configuration>
38+
<archive>
39+
<manifestEntries>
40+
<Automatic-Module-Name>software.amazon.awssdk.services.cleanrooms</Automatic-Module-Name>
41+
</manifestEntries>
42+
</archive>
43+
</configuration>
44+
</plugin>
45+
</plugins>
46+
</build>
47+
48+
<dependencies>
49+
<dependency>
50+
<groupId>software.amazon.awssdk</groupId>
51+
<artifactId>protocol-core</artifactId>
52+
<version>${awsjavasdk.version}</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>software.amazon.awssdk</groupId>
56+
<artifactId>aws-json-protocol</artifactId>
57+
<version>${awsjavasdk.version}</version>
58+
</dependency>
59+
</dependencies>
60+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,300 @@
1+
{
2+
"version": "1.0",
3+
"parameters": {
4+
"Region": {
5+
"builtIn": "AWS::Region",
6+
"required": true,
7+
"documentation": "The AWS region used to dispatch the request.",
8+
"type": "String"
9+
},
10+
"UseDualStack": {
11+
"builtIn": "AWS::UseDualStack",
12+
"required": true,
13+
"default": false,
14+
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
15+
"type": "Boolean"
16+
},
17+
"UseFIPS": {
18+
"builtIn": "AWS::UseFIPS",
19+
"required": true,
20+
"default": false,
21+
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
22+
"type": "Boolean"
23+
},
24+
"Endpoint": {
25+
"builtIn": "SDK::Endpoint",
26+
"required": false,
27+
"documentation": "Override the endpoint used to send this request",
28+
"type": "String"
29+
}
30+
},
31+
"rules": [
32+
{
33+
"conditions": [
34+
{
35+
"fn": "aws.partition",
36+
"argv": [
37+
{
38+
"ref": "Region"
39+
}
40+
],
41+
"assign": "PartitionResult"
42+
}
43+
],
44+
"type": "tree",
45+
"rules": [
46+
{
47+
"conditions": [
48+
{
49+
"fn": "isSet",
50+
"argv": [
51+
{
52+
"ref": "Endpoint"
53+
}
54+
]
55+
}
56+
],
57+
"type": "tree",
58+
"rules": [
59+
{
60+
"conditions": [
61+
{
62+
"fn": "booleanEquals",
63+
"argv": [
64+
{
65+
"ref": "UseFIPS"
66+
},
67+
true
68+
]
69+
}
70+
],
71+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
72+
"type": "error"
73+
},
74+
{
75+
"conditions": [],
76+
"type": "tree",
77+
"rules": [
78+
{
79+
"conditions": [
80+
{
81+
"fn": "booleanEquals",
82+
"argv": [
83+
{
84+
"ref": "UseDualStack"
85+
},
86+
true
87+
]
88+
}
89+
],
90+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
91+
"type": "error"
92+
},
93+
{
94+
"conditions": [],
95+
"endpoint": {
96+
"url": {
97+
"ref": "Endpoint"
98+
},
99+
"properties": {},
100+
"headers": {}
101+
},
102+
"type": "endpoint"
103+
}
104+
]
105+
}
106+
]
107+
},
108+
{
109+
"conditions": [
110+
{
111+
"fn": "booleanEquals",
112+
"argv": [
113+
{
114+
"ref": "UseFIPS"
115+
},
116+
true
117+
]
118+
},
119+
{
120+
"fn": "booleanEquals",
121+
"argv": [
122+
{
123+
"ref": "UseDualStack"
124+
},
125+
true
126+
]
127+
}
128+
],
129+
"type": "tree",
130+
"rules": [
131+
{
132+
"conditions": [
133+
{
134+
"fn": "booleanEquals",
135+
"argv": [
136+
true,
137+
{
138+
"fn": "getAttr",
139+
"argv": [
140+
{
141+
"ref": "PartitionResult"
142+
},
143+
"supportsFIPS"
144+
]
145+
}
146+
]
147+
},
148+
{
149+
"fn": "booleanEquals",
150+
"argv": [
151+
true,
152+
{
153+
"fn": "getAttr",
154+
"argv": [
155+
{
156+
"ref": "PartitionResult"
157+
},
158+
"supportsDualStack"
159+
]
160+
}
161+
]
162+
}
163+
],
164+
"type": "tree",
165+
"rules": [
166+
{
167+
"conditions": [],
168+
"endpoint": {
169+
"url": "https://cleanrooms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
170+
"properties": {},
171+
"headers": {}
172+
},
173+
"type": "endpoint"
174+
}
175+
]
176+
},
177+
{
178+
"conditions": [],
179+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
180+
"type": "error"
181+
}
182+
]
183+
},
184+
{
185+
"conditions": [
186+
{
187+
"fn": "booleanEquals",
188+
"argv": [
189+
{
190+
"ref": "UseFIPS"
191+
},
192+
true
193+
]
194+
}
195+
],
196+
"type": "tree",
197+
"rules": [
198+
{
199+
"conditions": [
200+
{
201+
"fn": "booleanEquals",
202+
"argv": [
203+
true,
204+
{
205+
"fn": "getAttr",
206+
"argv": [
207+
{
208+
"ref": "PartitionResult"
209+
},
210+
"supportsFIPS"
211+
]
212+
}
213+
]
214+
}
215+
],
216+
"type": "tree",
217+
"rules": [
218+
{
219+
"conditions": [],
220+
"endpoint": {
221+
"url": "https://cleanrooms-fips.{Region}.{PartitionResult#dnsSuffix}",
222+
"properties": {},
223+
"headers": {}
224+
},
225+
"type": "endpoint"
226+
}
227+
]
228+
},
229+
{
230+
"conditions": [],
231+
"error": "FIPS is enabled but this partition does not support FIPS",
232+
"type": "error"
233+
}
234+
]
235+
},
236+
{
237+
"conditions": [
238+
{
239+
"fn": "booleanEquals",
240+
"argv": [
241+
{
242+
"ref": "UseDualStack"
243+
},
244+
true
245+
]
246+
}
247+
],
248+
"type": "tree",
249+
"rules": [
250+
{
251+
"conditions": [
252+
{
253+
"fn": "booleanEquals",
254+
"argv": [
255+
true,
256+
{
257+
"fn": "getAttr",
258+
"argv": [
259+
{
260+
"ref": "PartitionResult"
261+
},
262+
"supportsDualStack"
263+
]
264+
}
265+
]
266+
}
267+
],
268+
"type": "tree",
269+
"rules": [
270+
{
271+
"conditions": [],
272+
"endpoint": {
273+
"url": "https://cleanrooms.{Region}.{PartitionResult#dualStackDnsSuffix}",
274+
"properties": {},
275+
"headers": {}
276+
},
277+
"type": "endpoint"
278+
}
279+
]
280+
},
281+
{
282+
"conditions": [],
283+
"error": "DualStack is enabled but this partition does not support DualStack",
284+
"type": "error"
285+
}
286+
]
287+
},
288+
{
289+
"conditions": [],
290+
"endpoint": {
291+
"url": "https://cleanrooms.{Region}.{PartitionResult#dnsSuffix}",
292+
"properties": {},
293+
"headers": {}
294+
},
295+
"type": "endpoint"
296+
}
297+
]
298+
}
299+
]
300+
}

0 commit comments

Comments
 (0)