Skip to content

Commit c5617b0

Browse files
author
awstools
committed
feat(client-application-discovery-service): This release introduces three new APIs: StartBatchDeleteConfigurationTask, DescribeBatchDeleteConfigurationTask, and BatchDeleteAgents.
1 parent db53ab1 commit c5617b0

File tree

4 files changed

+47
-45
lines changed

4 files changed

+47
-45
lines changed

clients/client-application-discovery-service/src/commands/StartContinuousExportCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export interface StartContinuousExportCommandOutput extends StartContinuousExpor
7474
* policy associated with this user.</p>
7575
*
7676
* @throws {@link ConflictErrorException} (client fault)
77-
* <p></p>
77+
* <p>Conflict error.</p>
7878
*
7979
* @throws {@link HomeRegionNotSetException} (client fault)
8080
* <p>The home Region is not set. Set the home Region to continue.</p>

clients/client-application-discovery-service/src/endpoint/ruleset.ts

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,27 @@ import { RuleSetObject } from "@smithy/types";
66
or see "smithy.rules#endpointRuleSet"
77
in codegen/sdk-codegen/aws-models/application-discovery-service.json */
88

9-
const q="required",
10-
r="fn",
11-
s="argv",
12-
t="ref";
13-
const a="isSet",
14-
b="tree",
15-
c="error",
16-
d="endpoint",
17-
e="PartitionResult",
18-
f={[q]:false,"type":"String"},
19-
g={[q]:true,"default":false,"type":"Boolean"},
20-
h={[t]:"Endpoint"},
21-
i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]},
22-
j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]},
23-
k={},
24-
l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]},
25-
m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]},
26-
n=[i],
27-
o=[j],
28-
p=[{[t]:"Region"}];
29-
const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://discovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://discovery-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://discovery.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://discovery.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]};
9+
const s="required",
10+
t="fn",
11+
u="argv",
12+
v="ref";
13+
const a=true,
14+
b="isSet",
15+
c="booleanEquals",
16+
d="error",
17+
e="endpoint",
18+
f="tree",
19+
g="PartitionResult",
20+
h={[s]:false,"type":"String"},
21+
i={[s]:true,"default":false,"type":"Boolean"},
22+
j={[v]:"Endpoint"},
23+
k={[t]:c,[u]:[{[v]:"UseFIPS"},true]},
24+
l={[t]:c,[u]:[{[v]:"UseDualStack"},true]},
25+
m={},
26+
n={[t]:"getAttr",[u]:[{[v]:g},"supportsFIPS"]},
27+
o={[t]:c,[u]:[true,{[t]:"getAttr",[u]:[{[v]:g},"supportsDualStack"]}]},
28+
p=[k],
29+
q=[l],
30+
r=[{[v]:"Region"}];
31+
const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h},rules:[{conditions:[{[t]:b,[u]:[j]}],rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:d},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:d},{endpoint:{url:j,properties:m,headers:m},type:e}],type:f},{conditions:[{[t]:b,[u]:r}],rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:g}],rules:[{conditions:[k,l],rules:[{conditions:[{[t]:c,[u]:[a,n]},o],rules:[{endpoint:{url:"https://discovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:e}],type:f},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:d}],type:f},{conditions:p,rules:[{conditions:[{[t]:c,[u]:[n,a]}],rules:[{endpoint:{url:"https://discovery-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:e}],type:f},{error:"FIPS is enabled but this partition does not support FIPS",type:d}],type:f},{conditions:q,rules:[{conditions:[o],rules:[{endpoint:{url:"https://discovery.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:e}],type:f},{error:"DualStack is enabled but this partition does not support DualStack",type:d}],type:f},{endpoint:{url:"https://discovery.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:e}],type:f}],type:f},{error:"Invalid Configuration: Missing Region",type:d}]};
3032
export const ruleSet: RuleSetObject = _data;

clients/client-application-discovery-service/src/models/models_0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1874,7 +1874,7 @@ export interface ListServerNeighborsResponse {
18741874

18751875
/**
18761876
* @public
1877-
* <p></p>
1877+
* <p>Conflict error.</p>
18781878
*/
18791879
export class ConflictErrorException extends __BaseException {
18801880
readonly name: "ConflictErrorException" = "ConflictErrorException";

codegen/sdk-codegen/aws-models/application-discovery-service.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@
169169
]
170170
}
171171
],
172-
"type": "tree",
173172
"rules": [
174173
{
175174
"conditions": [
@@ -212,7 +211,8 @@
212211
},
213212
"type": "endpoint"
214213
}
215-
]
214+
],
215+
"type": "tree"
216216
},
217217
{
218218
"conditions": [
@@ -225,7 +225,6 @@
225225
]
226226
}
227227
],
228-
"type": "tree",
229228
"rules": [
230229
{
231230
"conditions": [
@@ -239,7 +238,6 @@
239238
"assign": "PartitionResult"
240239
}
241240
],
242-
"type": "tree",
243241
"rules": [
244242
{
245243
"conditions": [
@@ -262,7 +260,6 @@
262260
]
263261
}
264262
],
265-
"type": "tree",
266263
"rules": [
267264
{
268265
"conditions": [
@@ -297,7 +294,6 @@
297294
]
298295
}
299296
],
300-
"type": "tree",
301297
"rules": [
302298
{
303299
"conditions": [],
@@ -308,14 +304,16 @@
308304
},
309305
"type": "endpoint"
310306
}
311-
]
307+
],
308+
"type": "tree"
312309
},
313310
{
314311
"conditions": [],
315312
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
316313
"type": "error"
317314
}
318-
]
315+
],
316+
"type": "tree"
319317
},
320318
{
321319
"conditions": [
@@ -329,14 +327,12 @@
329327
]
330328
}
331329
],
332-
"type": "tree",
333330
"rules": [
334331
{
335332
"conditions": [
336333
{
337334
"fn": "booleanEquals",
338335
"argv": [
339-
true,
340336
{
341337
"fn": "getAttr",
342338
"argv": [
@@ -345,11 +341,11 @@
345341
},
346342
"supportsFIPS"
347343
]
348-
}
344+
},
345+
true
349346
]
350347
}
351348
],
352-
"type": "tree",
353349
"rules": [
354350
{
355351
"conditions": [],
@@ -360,14 +356,16 @@
360356
},
361357
"type": "endpoint"
362358
}
363-
]
359+
],
360+
"type": "tree"
364361
},
365362
{
366363
"conditions": [],
367364
"error": "FIPS is enabled but this partition does not support FIPS",
368365
"type": "error"
369366
}
370-
]
367+
],
368+
"type": "tree"
371369
},
372370
{
373371
"conditions": [
@@ -381,7 +379,6 @@
381379
]
382380
}
383381
],
384-
"type": "tree",
385382
"rules": [
386383
{
387384
"conditions": [
@@ -401,7 +398,6 @@
401398
]
402399
}
403400
],
404-
"type": "tree",
405401
"rules": [
406402
{
407403
"conditions": [],
@@ -412,14 +408,16 @@
412408
},
413409
"type": "endpoint"
414410
}
415-
]
411+
],
412+
"type": "tree"
416413
},
417414
{
418415
"conditions": [],
419416
"error": "DualStack is enabled but this partition does not support DualStack",
420417
"type": "error"
421418
}
422-
]
419+
],
420+
"type": "tree"
423421
},
424422
{
425423
"conditions": [],
@@ -430,9 +428,11 @@
430428
},
431429
"type": "endpoint"
432430
}
433-
]
431+
],
432+
"type": "tree"
434433
}
435-
]
434+
],
435+
"type": "tree"
436436
},
437437
{
438438
"conditions": [],
@@ -1405,7 +1405,7 @@
14051405
}
14061406
},
14071407
"traits": {
1408-
"smithy.api#documentation": "<p></p>",
1408+
"smithy.api#documentation": "<p>Conflict error.</p>",
14091409
"smithy.api#error": "client",
14101410
"smithy.api#httpError": 409
14111411
}
@@ -3374,7 +3374,7 @@
33743374
"min": 0,
33753375
"max": 200
33763376
},
3377-
"smithy.api#pattern": "^\\S*$"
3377+
"smithy.api#pattern": "^import-task-[a-fA-F0-9]{32}$"
33783378
}
33793379
},
33803380
"com.amazonaws.applicationdiscoveryservice#ImportTaskList": {

0 commit comments

Comments
 (0)