Skip to content

Commit b0355d7

Browse files
author
AWS
committed
Partner Central Channel API Update: Initial GA launch of Partner Central Channel
1 parent 1e1f538 commit b0355d7

File tree

7 files changed

+2783
-0
lines changed

7 files changed

+2783
-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": "Partner Central Channel API",
4+
"contributor": "",
5+
"description": "Initial GA launch of Partner Central Channel"
6+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
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+
--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
16+
<modelVersion>4.0.0</modelVersion>
17+
<parent>
18+
<groupId>software.amazon.awssdk</groupId>
19+
<artifactId>services</artifactId>
20+
<version>2.39.0-SNAPSHOT</version>
21+
</parent>
22+
<artifactId>partnercentralchannel</artifactId>
23+
<name>AWS Java SDK :: Services :: Partner Central Channel</name>
24+
<description>The AWS Java SDK for Partner Central Channel module holds the client classes that are used for
25+
communicating with Partner Central Channel.
26+
</description>
27+
<url>https://aws.amazon.com/sdkforjava</url>
28+
<build>
29+
<plugins>
30+
<plugin>
31+
<groupId>org.apache.maven.plugins</groupId>
32+
<artifactId>maven-jar-plugin</artifactId>
33+
<configuration>
34+
<archive>
35+
<manifestEntries>
36+
<Automatic-Module-Name>software.amazon.awssdk.services.partnercentralchannel</Automatic-Module-Name>
37+
</manifestEntries>
38+
</archive>
39+
</configuration>
40+
</plugin>
41+
</plugins>
42+
</build>
43+
<dependencies>
44+
<dependency>
45+
<groupId>software.amazon.awssdk</groupId>
46+
<artifactId>protocol-core</artifactId>
47+
<version>${awsjavasdk.version}</version>
48+
</dependency>
49+
<dependency>
50+
<groupId>software.amazon.awssdk</groupId>
51+
<artifactId>aws-json-protocol</artifactId>
52+
<version>${awsjavasdk.version}</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>software.amazon.awssdk</groupId>
56+
<artifactId>http-auth-aws</artifactId>
57+
<version>${awsjavasdk.version}</version>
58+
</dependency>
59+
</dependencies>
60+
</project>
Lines changed: 269 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,269 @@
1+
{
2+
"version": "1.0",
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+
"Endpoint": {
12+
"builtIn": "SDK::Endpoint",
13+
"required": false,
14+
"documentation": "Override the endpoint used to send this request",
15+
"type": "string"
16+
},
17+
"Region": {
18+
"builtIn": "AWS::Region",
19+
"required": false,
20+
"documentation": "The AWS region used to dispatch the request.",
21+
"type": "string"
22+
}
23+
},
24+
"rules": [
25+
{
26+
"conditions": [
27+
{
28+
"fn": "isSet",
29+
"argv": [
30+
{
31+
"ref": "Endpoint"
32+
}
33+
]
34+
}
35+
],
36+
"rules": [
37+
{
38+
"conditions": [
39+
{
40+
"fn": "booleanEquals",
41+
"argv": [
42+
{
43+
"ref": "UseFIPS"
44+
},
45+
true
46+
]
47+
}
48+
],
49+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
50+
"type": "error"
51+
},
52+
{
53+
"conditions": [],
54+
"endpoint": {
55+
"url": {
56+
"ref": "Endpoint"
57+
},
58+
"properties": {
59+
"authSchemes": [
60+
{
61+
"name": "sigv4a",
62+
"signingRegionSet": [
63+
"*"
64+
]
65+
},
66+
{
67+
"name": "sigv4"
68+
}
69+
]
70+
},
71+
"headers": {}
72+
},
73+
"type": "endpoint"
74+
}
75+
],
76+
"type": "tree"
77+
},
78+
{
79+
"conditions": [],
80+
"rules": [
81+
{
82+
"conditions": [
83+
{
84+
"fn": "isSet",
85+
"argv": [
86+
{
87+
"ref": "Region"
88+
}
89+
]
90+
}
91+
],
92+
"rules": [
93+
{
94+
"conditions": [
95+
{
96+
"fn": "aws.partition",
97+
"argv": [
98+
{
99+
"ref": "Region"
100+
}
101+
],
102+
"assign": "PartitionResult"
103+
}
104+
],
105+
"rules": [
106+
{
107+
"conditions": [
108+
{
109+
"fn": "stringEquals",
110+
"argv": [
111+
{
112+
"fn": "getAttr",
113+
"argv": [
114+
{
115+
"ref": "PartitionResult"
116+
},
117+
"name"
118+
]
119+
},
120+
"aws-us-gov"
121+
]
122+
},
123+
{
124+
"fn": "booleanEquals",
125+
"argv": [
126+
{
127+
"ref": "UseFIPS"
128+
},
129+
false
130+
]
131+
}
132+
],
133+
"endpoint": {
134+
"url": "https://partnercentral-channel.us-gov.{PartitionResult#dualStackDnsSuffix}",
135+
"properties": {
136+
"authSchemes": [
137+
{
138+
"name": "sigv4a",
139+
"signingRegionSet": [
140+
"*"
141+
]
142+
},
143+
{
144+
"name": "sigv4",
145+
"signingRegion": "us-gov-west-1"
146+
}
147+
]
148+
},
149+
"headers": {}
150+
},
151+
"type": "endpoint"
152+
},
153+
{
154+
"conditions": [
155+
{
156+
"fn": "stringEquals",
157+
"argv": [
158+
{
159+
"fn": "getAttr",
160+
"argv": [
161+
{
162+
"ref": "PartitionResult"
163+
},
164+
"name"
165+
]
166+
},
167+
"aws-us-gov"
168+
]
169+
},
170+
{
171+
"fn": "booleanEquals",
172+
"argv": [
173+
{
174+
"ref": "UseFIPS"
175+
},
176+
true
177+
]
178+
}
179+
],
180+
"endpoint": {
181+
"url": "https://partnercentral-channel-fips.us-gov.{PartitionResult#dualStackDnsSuffix}",
182+
"properties": {
183+
"authSchemes": [
184+
{
185+
"name": "sigv4a",
186+
"signingRegionSet": [
187+
"*"
188+
]
189+
},
190+
{
191+
"name": "sigv4",
192+
"signingRegion": "us-gov-west-1"
193+
}
194+
]
195+
},
196+
"headers": {}
197+
},
198+
"type": "endpoint"
199+
},
200+
{
201+
"conditions": [
202+
{
203+
"fn": "booleanEquals",
204+
"argv": [
205+
{
206+
"ref": "UseFIPS"
207+
},
208+
true
209+
]
210+
}
211+
],
212+
"endpoint": {
213+
"url": "https://partnercentral-channel-fips.global.{PartitionResult#dualStackDnsSuffix}",
214+
"properties": {
215+
"authSchemes": [
216+
{
217+
"name": "sigv4a",
218+
"signingRegionSet": [
219+
"*"
220+
]
221+
},
222+
{
223+
"name": "sigv4",
224+
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
225+
}
226+
]
227+
},
228+
"headers": {}
229+
},
230+
"type": "endpoint"
231+
},
232+
{
233+
"conditions": [],
234+
"endpoint": {
235+
"url": "https://partnercentral-channel.global.{PartitionResult#dualStackDnsSuffix}",
236+
"properties": {
237+
"authSchemes": [
238+
{
239+
"name": "sigv4a",
240+
"signingRegionSet": [
241+
"*"
242+
]
243+
},
244+
{
245+
"name": "sigv4",
246+
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
247+
}
248+
]
249+
},
250+
"headers": {}
251+
},
252+
"type": "endpoint"
253+
}
254+
],
255+
"type": "tree"
256+
}
257+
],
258+
"type": "tree"
259+
},
260+
{
261+
"conditions": [],
262+
"error": "Invalid Configuration: Missing Region",
263+
"type": "error"
264+
}
265+
],
266+
"type": "tree"
267+
}
268+
]
269+
}

0 commit comments

Comments
 (0)