Skip to content

Commit c2261d0

Browse files
author
AWS
committed
Partner Central Selling API Update: Announcing AWS Partner Central API for Selling: This service launch Introduces new APIs for co-selling opportunity management and related functions. Key features include notifications, a dynamic sandbox for testing, and streamlined validations.
1 parent cd5e9d4 commit c2261d0

File tree

4 files changed

+179
-498
lines changed

4 files changed

+179
-498
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 Selling API",
4+
"contributor": "",
5+
"description": "Announcing AWS Partner Central API for Selling: This service launch Introduces new APIs for co-selling opportunity management and related functions. Key features include notifications, a dynamic sandbox for testing, and streamlined validations."
6+
}

services/partnercentralselling/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 25 additions & 238 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
{
22
"version": "1.0",
33
"parameters": {
4-
"Region": {
5-
"builtIn": "AWS::Region",
6-
"required": false,
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-
},
174
"UseFIPS": {
185
"builtIn": "AWS::UseFIPS",
196
"required": true,
@@ -26,6 +13,12 @@
2613
"required": false,
2714
"documentation": "Override the endpoint used to send this request",
2815
"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"
2922
}
3023
},
3124
"rules": [
@@ -58,35 +51,14 @@
5851
},
5952
{
6053
"conditions": [],
61-
"rules": [
62-
{
63-
"conditions": [
64-
{
65-
"fn": "booleanEquals",
66-
"argv": [
67-
{
68-
"ref": "UseDualStack"
69-
},
70-
true
71-
]
72-
}
73-
],
74-
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
75-
"type": "error"
54+
"endpoint": {
55+
"url": {
56+
"ref": "Endpoint"
7657
},
77-
{
78-
"conditions": [],
79-
"endpoint": {
80-
"url": {
81-
"ref": "Endpoint"
82-
},
83-
"properties": {},
84-
"headers": {}
85-
},
86-
"type": "endpoint"
87-
}
88-
],
89-
"type": "tree"
58+
"properties": {},
59+
"headers": {}
60+
},
61+
"type": "endpoint"
9062
}
9163
],
9264
"type": "tree"
@@ -129,208 +101,23 @@
129101
},
130102
true
131103
]
132-
},
133-
{
134-
"fn": "booleanEquals",
135-
"argv": [
136-
{
137-
"ref": "UseDualStack"
138-
},
139-
true
140-
]
141104
}
142105
],
143-
"rules": [
144-
{
145-
"conditions": [
146-
{
147-
"fn": "booleanEquals",
148-
"argv": [
149-
true,
150-
{
151-
"fn": "getAttr",
152-
"argv": [
153-
{
154-
"ref": "PartitionResult"
155-
},
156-
"supportsFIPS"
157-
]
158-
}
159-
]
160-
},
161-
{
162-
"fn": "booleanEquals",
163-
"argv": [
164-
true,
165-
{
166-
"fn": "getAttr",
167-
"argv": [
168-
{
169-
"ref": "PartitionResult"
170-
},
171-
"supportsDualStack"
172-
]
173-
}
174-
]
175-
}
176-
],
177-
"rules": [
178-
{
179-
"conditions": [],
180-
"rules": [
181-
{
182-
"conditions": [],
183-
"endpoint": {
184-
"url": "https://partnercentral-selling-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
185-
"properties": {},
186-
"headers": {}
187-
},
188-
"type": "endpoint"
189-
}
190-
],
191-
"type": "tree"
192-
}
193-
],
194-
"type": "tree"
195-
},
196-
{
197-
"conditions": [],
198-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
199-
"type": "error"
200-
}
201-
],
202-
"type": "tree"
203-
},
204-
{
205-
"conditions": [
206-
{
207-
"fn": "booleanEquals",
208-
"argv": [
209-
{
210-
"ref": "UseFIPS"
211-
},
212-
true
213-
]
214-
}
215-
],
216-
"rules": [
217-
{
218-
"conditions": [
219-
{
220-
"fn": "booleanEquals",
221-
"argv": [
222-
{
223-
"fn": "getAttr",
224-
"argv": [
225-
{
226-
"ref": "PartitionResult"
227-
},
228-
"supportsFIPS"
229-
]
230-
},
231-
true
232-
]
233-
}
234-
],
235-
"rules": [
236-
{
237-
"conditions": [],
238-
"rules": [
239-
{
240-
"conditions": [],
241-
"endpoint": {
242-
"url": "https://partnercentral-selling-fips.{Region}.{PartitionResult#dnsSuffix}",
243-
"properties": {},
244-
"headers": {}
245-
},
246-
"type": "endpoint"
247-
}
248-
],
249-
"type": "tree"
250-
}
251-
],
252-
"type": "tree"
253-
},
254-
{
255-
"conditions": [],
256-
"error": "FIPS is enabled but this partition does not support FIPS",
257-
"type": "error"
258-
}
259-
],
260-
"type": "tree"
261-
},
262-
{
263-
"conditions": [
264-
{
265-
"fn": "booleanEquals",
266-
"argv": [
267-
{
268-
"ref": "UseDualStack"
269-
},
270-
true
271-
]
272-
}
273-
],
274-
"rules": [
275-
{
276-
"conditions": [
277-
{
278-
"fn": "booleanEquals",
279-
"argv": [
280-
true,
281-
{
282-
"fn": "getAttr",
283-
"argv": [
284-
{
285-
"ref": "PartitionResult"
286-
},
287-
"supportsDualStack"
288-
]
289-
}
290-
]
291-
}
292-
],
293-
"rules": [
294-
{
295-
"conditions": [],
296-
"rules": [
297-
{
298-
"conditions": [],
299-
"endpoint": {
300-
"url": "https://partnercentral-selling.{Region}.{PartitionResult#dualStackDnsSuffix}",
301-
"properties": {},
302-
"headers": {}
303-
},
304-
"type": "endpoint"
305-
}
306-
],
307-
"type": "tree"
308-
}
309-
],
310-
"type": "tree"
311-
},
312-
{
313-
"conditions": [],
314-
"error": "DualStack is enabled but this partition does not support DualStack",
315-
"type": "error"
316-
}
317-
],
318-
"type": "tree"
106+
"endpoint": {
107+
"url": "https://partnercentral-selling-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
108+
"properties": {},
109+
"headers": {}
110+
},
111+
"type": "endpoint"
319112
},
320113
{
321114
"conditions": [],
322-
"rules": [
323-
{
324-
"conditions": [],
325-
"endpoint": {
326-
"url": "https://partnercentral-selling.{Region}.{PartitionResult#dnsSuffix}",
327-
"properties": {},
328-
"headers": {}
329-
},
330-
"type": "endpoint"
331-
}
332-
],
333-
"type": "tree"
115+
"endpoint": {
116+
"url": "https://partnercentral-selling.{Region}.{PartitionResult#dualStackDnsSuffix}",
117+
"properties": {},
118+
"headers": {}
119+
},
120+
"type": "endpoint"
334121
}
335122
],
336123
"type": "tree"

0 commit comments

Comments
 (0)