Skip to content

Commit 115ea8f

Browse files
Updated API models and rebuilt service gems.
1 parent 28d3a1b commit 115ea8f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1976
-351
lines changed

apis/artifact/2018-05-10/endpoint-rule-set-1.json

Lines changed: 76 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +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-
},
104
"UseDualStack": {
115
"builtIn": "AWS::UseDualStack",
126
"required": true,
@@ -26,6 +20,12 @@
2620
"required": false,
2721
"documentation": "Override the endpoint used to send this request",
2822
"type": "String"
23+
},
24+
"Region": {
25+
"builtIn": "AWS::Region",
26+
"required": false,
27+
"documentation": "The AWS region used to dispatch the request.",
28+
"type": "String"
2929
}
3030
},
3131
"rules": [
@@ -177,18 +177,19 @@
177177
"rules": [
178178
{
179179
"conditions": [],
180-
"rules": [
181-
{
182-
"conditions": [],
183-
"endpoint": {
184-
"url": "https://artifact-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
185-
"properties": {},
186-
"headers": {}
187-
},
188-
"type": "endpoint"
189-
}
190-
],
191-
"type": "tree"
180+
"endpoint": {
181+
"url": "https://artifact-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",
182+
"properties": {
183+
"authSchemes": [
184+
{
185+
"name": "sigv4",
186+
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
187+
}
188+
]
189+
},
190+
"headers": {}
191+
},
192+
"type": "endpoint"
192193
}
193194
],
194195
"type": "tree"
@@ -211,6 +212,15 @@
211212
},
212213
true
213214
]
215+
},
216+
{
217+
"fn": "booleanEquals",
218+
"argv": [
219+
{
220+
"ref": "UseDualStack"
221+
},
222+
false
223+
]
214224
}
215225
],
216226
"rules": [
@@ -235,18 +245,19 @@
235245
"rules": [
236246
{
237247
"conditions": [],
238-
"rules": [
239-
{
240-
"conditions": [],
241-
"endpoint": {
242-
"url": "https://artifact-fips.{Region}.{PartitionResult#dnsSuffix}",
243-
"properties": {},
244-
"headers": {}
245-
},
246-
"type": "endpoint"
247-
}
248-
],
249-
"type": "tree"
248+
"endpoint": {
249+
"url": "https://artifact-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}",
250+
"properties": {
251+
"authSchemes": [
252+
{
253+
"name": "sigv4",
254+
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
255+
}
256+
]
257+
},
258+
"headers": {}
259+
},
260+
"type": "endpoint"
250261
}
251262
],
252263
"type": "tree"
@@ -261,6 +272,15 @@
261272
},
262273
{
263274
"conditions": [
275+
{
276+
"fn": "booleanEquals",
277+
"argv": [
278+
{
279+
"ref": "UseFIPS"
280+
},
281+
false
282+
]
283+
},
264284
{
265285
"fn": "booleanEquals",
266286
"argv": [
@@ -293,18 +313,19 @@
293313
"rules": [
294314
{
295315
"conditions": [],
296-
"rules": [
297-
{
298-
"conditions": [],
299-
"endpoint": {
300-
"url": "https://artifact.{Region}.{PartitionResult#dualStackDnsSuffix}",
301-
"properties": {},
302-
"headers": {}
303-
},
304-
"type": "endpoint"
305-
}
306-
],
307-
"type": "tree"
316+
"endpoint": {
317+
"url": "https://artifact.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",
318+
"properties": {
319+
"authSchemes": [
320+
{
321+
"name": "sigv4",
322+
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
323+
}
324+
]
325+
},
326+
"headers": {}
327+
},
328+
"type": "endpoint"
308329
}
309330
],
310331
"type": "tree"
@@ -319,18 +340,19 @@
319340
},
320341
{
321342
"conditions": [],
322-
"rules": [
323-
{
324-
"conditions": [],
325-
"endpoint": {
326-
"url": "https://artifact.{Region}.{PartitionResult#dnsSuffix}",
327-
"properties": {},
328-
"headers": {}
329-
},
330-
"type": "endpoint"
331-
}
332-
],
333-
"type": "tree"
343+
"endpoint": {
344+
"url": "https://artifact.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}",
345+
"properties": {
346+
"authSchemes": [
347+
{
348+
"name": "sigv4",
349+
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
350+
}
351+
]
352+
},
353+
"headers": {}
354+
},
355+
"type": "endpoint"
334356
}
335357
],
336358
"type": "tree"

0 commit comments

Comments
 (0)