Skip to content

Commit 5eb7b19

Browse files
author
AWS
committed
Amazon CodeCatalyst Update: This release adds operations that support customers using the AWS Toolkits and Amazon CodeCatalyst, a unified software development service that helps developers develop, deploy, and maintain applications in the cloud. For more information, see the documentation.
1 parent b795af4 commit 5eb7b19

File tree

7 files changed

+3006
-0
lines changed

7 files changed

+3006
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon CodeCatalyst",
4+
"contributor": "",
5+
"description": "This release adds operations that support customers using the AWS Toolkits and Amazon CodeCatalyst, a unified software development service that helps developers develop, deploy, and maintain applications in the cloud. For more information, see the documentation."
6+
}

services/codecatalyst/pom.xml

Lines changed: 60 additions & 0 deletions
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.18.29-SNAPSHOT</version>
25+
</parent>
26+
<artifactId>codecatalyst</artifactId>
27+
<name>AWS Java SDK :: Services :: Code Catalyst</name>
28+
<description>The AWS Java SDK for Code Catalyst module holds the client classes that are used for
29+
communicating with Code Catalyst.
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.codecatalyst</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>
Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
{
2+
"version": "1.3",
3+
"parameters": {
4+
"UseFIPS": {
5+
"builtIn": "AWS::UseFIPS",
6+
"required": true,
7+
"default": false,
8+
"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.",
9+
"type": "Boolean"
10+
},
11+
"Region": {
12+
"builtIn": "AWS::Region",
13+
"required": false,
14+
"documentation": "The AWS region used to dispatch the request.",
15+
"type": "String"
16+
},
17+
"Endpoint": {
18+
"builtIn": "SDK::Endpoint",
19+
"required": false,
20+
"documentation": "Override the endpoint used to send this request",
21+
"type": "String"
22+
}
23+
},
24+
"rules": [
25+
{
26+
"conditions": [],
27+
"type": "tree",
28+
"rules": [
29+
{
30+
"conditions": [
31+
{
32+
"fn": "isSet",
33+
"argv": [
34+
{
35+
"ref": "Endpoint"
36+
}
37+
]
38+
}
39+
],
40+
"endpoint": {
41+
"url": {
42+
"ref": "Endpoint"
43+
},
44+
"properties": {},
45+
"headers": {}
46+
},
47+
"type": "endpoint"
48+
},
49+
{
50+
"conditions": [
51+
{
52+
"fn": "not",
53+
"argv": [
54+
{
55+
"fn": "isSet",
56+
"argv": [
57+
{
58+
"ref": "Region"
59+
}
60+
]
61+
}
62+
]
63+
},
64+
{
65+
"fn": "aws.partition",
66+
"argv": [
67+
"us-west-2"
68+
],
69+
"assign": "PartitionResult"
70+
}
71+
],
72+
"type": "tree",
73+
"rules": [
74+
{
75+
"conditions": [
76+
{
77+
"fn": "booleanEquals",
78+
"argv": [
79+
{
80+
"ref": "UseFIPS"
81+
},
82+
true
83+
]
84+
}
85+
],
86+
"type": "tree",
87+
"rules": [
88+
{
89+
"conditions": [
90+
{
91+
"fn": "booleanEquals",
92+
"argv": [
93+
{
94+
"fn": "getAttr",
95+
"argv": [
96+
{
97+
"ref": "PartitionResult"
98+
},
99+
"supportsFIPS"
100+
]
101+
},
102+
false
103+
]
104+
}
105+
],
106+
"error": "Partition does not support FIPS.",
107+
"type": "error"
108+
},
109+
{
110+
"conditions": [],
111+
"endpoint": {
112+
"url": "https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}",
113+
"properties": {},
114+
"headers": {}
115+
},
116+
"type": "endpoint"
117+
}
118+
]
119+
},
120+
{
121+
"conditions": [],
122+
"endpoint": {
123+
"url": "https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}",
124+
"properties": {},
125+
"headers": {}
126+
},
127+
"type": "endpoint"
128+
}
129+
]
130+
},
131+
{
132+
"conditions": [
133+
{
134+
"fn": "isSet",
135+
"argv": [
136+
{
137+
"ref": "Region"
138+
}
139+
]
140+
},
141+
{
142+
"fn": "aws.partition",
143+
"argv": [
144+
{
145+
"ref": "Region"
146+
}
147+
],
148+
"assign": "PartitionResult"
149+
}
150+
],
151+
"type": "tree",
152+
"rules": [
153+
{
154+
"conditions": [
155+
{
156+
"fn": "booleanEquals",
157+
"argv": [
158+
{
159+
"ref": "UseFIPS"
160+
},
161+
true
162+
]
163+
}
164+
],
165+
"type": "tree",
166+
"rules": [
167+
{
168+
"conditions": [
169+
{
170+
"fn": "booleanEquals",
171+
"argv": [
172+
{
173+
"fn": "getAttr",
174+
"argv": [
175+
{
176+
"ref": "PartitionResult"
177+
},
178+
"supportsFIPS"
179+
]
180+
},
181+
false
182+
]
183+
}
184+
],
185+
"error": "Partition does not support FIPS.",
186+
"type": "error"
187+
},
188+
{
189+
"conditions": [],
190+
"endpoint": {
191+
"url": "https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}",
192+
"properties": {},
193+
"headers": {}
194+
},
195+
"type": "endpoint"
196+
}
197+
]
198+
},
199+
{
200+
"conditions": [],
201+
"endpoint": {
202+
"url": "https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}",
203+
"properties": {},
204+
"headers": {}
205+
},
206+
"type": "endpoint"
207+
}
208+
]
209+
}
210+
]
211+
}
212+
]
213+
}
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
{
2+
"testCases": [
3+
{
4+
"documentation": "Override endpoint",
5+
"expect": {
6+
"endpoint": {
7+
"url": "https://test.codecatalyst.global.api.aws"
8+
}
9+
},
10+
"params": {
11+
"Endpoint": "https://test.codecatalyst.global.api.aws"
12+
}
13+
},
14+
{
15+
"documentation": "Default endpoint (region not set)",
16+
"expect": {
17+
"endpoint": {
18+
"url": "https://codecatalyst.global.api.aws"
19+
}
20+
}
21+
},
22+
{
23+
"documentation": "Default FIPS endpoint (region not set)",
24+
"expect": {
25+
"endpoint": {
26+
"url": "https://codecatalyst-fips.global.api.aws"
27+
}
28+
},
29+
"params": {
30+
"UseFIPS": true
31+
}
32+
},
33+
{
34+
"documentation": "Default endpoint (region: aws-global)",
35+
"expect": {
36+
"endpoint": {
37+
"url": "https://codecatalyst.global.api.aws"
38+
}
39+
},
40+
"params": {
41+
"Region": "aws-global"
42+
}
43+
},
44+
{
45+
"documentation": "Default FIPS endpoint (region: aws-global)",
46+
"expect": {
47+
"endpoint": {
48+
"url": "https://codecatalyst-fips.global.api.aws"
49+
}
50+
},
51+
"params": {
52+
"Region": "aws-global",
53+
"UseFIPS": true
54+
}
55+
},
56+
{
57+
"documentation": "Default endpoint for a valid home region (region: us-west-2)",
58+
"expect": {
59+
"endpoint": {
60+
"url": "https://codecatalyst.global.api.aws"
61+
}
62+
},
63+
"params": {
64+
"Region": "us-west-2"
65+
}
66+
},
67+
{
68+
"documentation": "Default FIPS endpoint for a valid home region (region: us-west-2)",
69+
"expect": {
70+
"endpoint": {
71+
"url": "https://codecatalyst-fips.global.api.aws"
72+
}
73+
},
74+
"params": {
75+
"Region": "us-west-2",
76+
"UseFIPS": true
77+
}
78+
},
79+
{
80+
"documentation": "Default endpoint for an unavailable home region (region: us-east-1)",
81+
"expect": {
82+
"endpoint": {
83+
"url": "https://codecatalyst.global.api.aws"
84+
}
85+
},
86+
"params": {
87+
"Region": "us-east-1"
88+
}
89+
},
90+
{
91+
"documentation": "Default FIPS endpoint for an unavailable home region (region: us-east-1)",
92+
"expect": {
93+
"endpoint": {
94+
"url": "https://codecatalyst-fips.global.api.aws"
95+
}
96+
},
97+
"params": {
98+
"Region": "us-east-1",
99+
"UseFIPS": true
100+
}
101+
}
102+
],
103+
"version": "1.0"
104+
}

0 commit comments

Comments
 (0)