Skip to content

Commit 803bcf8

Browse files
author
AWS
committed
AWS License Manager Linux Subscriptions Update: Add support for third party subscription providers, starting with RHEL subscriptions through Red Hat Subscription Manager (RHSM). Additionally, add support for tagging subscription provider resources, and detect when an instance has more than one Linux subscription and notify the customer.
1 parent 96b5c8b commit 803bcf8

File tree

4 files changed

+475
-42
lines changed

4 files changed

+475
-42
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": "AWS License Manager Linux Subscriptions",
4+
"contributor": "",
5+
"description": "Add support for third party subscription providers, starting with RHEL subscriptions through Red Hat Subscription Manager (RHSM). Additionally, add support for tagging subscription provider resources, and detect when an instance has more than one Linux subscription and notify the customer."
6+
}

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

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
]
4141
}
4242
],
43-
"type": "tree",
4443
"rules": [
4544
{
4645
"conditions": [
@@ -59,7 +58,6 @@
5958
},
6059
{
6160
"conditions": [],
62-
"type": "tree",
6361
"rules": [
6462
{
6563
"conditions": [
@@ -87,13 +85,14 @@
8785
},
8886
"type": "endpoint"
8987
}
90-
]
88+
],
89+
"type": "tree"
9190
}
92-
]
91+
],
92+
"type": "tree"
9393
},
9494
{
9595
"conditions": [],
96-
"type": "tree",
9796
"rules": [
9897
{
9998
"conditions": [
@@ -106,7 +105,6 @@
106105
]
107106
}
108107
],
109-
"type": "tree",
110108
"rules": [
111109
{
112110
"conditions": [
@@ -120,7 +118,6 @@
120118
"assign": "PartitionResult"
121119
}
122120
],
123-
"type": "tree",
124121
"rules": [
125122
{
126123
"conditions": [
@@ -143,7 +140,6 @@
143140
]
144141
}
145142
],
146-
"type": "tree",
147143
"rules": [
148144
{
149145
"conditions": [
@@ -178,11 +174,9 @@
178174
]
179175
}
180176
],
181-
"type": "tree",
182177
"rules": [
183178
{
184179
"conditions": [],
185-
"type": "tree",
186180
"rules": [
187181
{
188182
"conditions": [],
@@ -193,16 +187,19 @@
193187
},
194188
"type": "endpoint"
195189
}
196-
]
190+
],
191+
"type": "tree"
197192
}
198-
]
193+
],
194+
"type": "tree"
199195
},
200196
{
201197
"conditions": [],
202198
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
203199
"type": "error"
204200
}
205-
]
201+
],
202+
"type": "tree"
206203
},
207204
{
208205
"conditions": [
@@ -216,14 +213,12 @@
216213
]
217214
}
218215
],
219-
"type": "tree",
220216
"rules": [
221217
{
222218
"conditions": [
223219
{
224220
"fn": "booleanEquals",
225221
"argv": [
226-
true,
227222
{
228223
"fn": "getAttr",
229224
"argv": [
@@ -232,15 +227,14 @@
232227
},
233228
"supportsFIPS"
234229
]
235-
}
230+
},
231+
true
236232
]
237233
}
238234
],
239-
"type": "tree",
240235
"rules": [
241236
{
242237
"conditions": [],
243-
"type": "tree",
244238
"rules": [
245239
{
246240
"conditions": [],
@@ -251,16 +245,19 @@
251245
},
252246
"type": "endpoint"
253247
}
254-
]
248+
],
249+
"type": "tree"
255250
}
256-
]
251+
],
252+
"type": "tree"
257253
},
258254
{
259255
"conditions": [],
260256
"error": "FIPS is enabled but this partition does not support FIPS",
261257
"type": "error"
262258
}
263-
]
259+
],
260+
"type": "tree"
264261
},
265262
{
266263
"conditions": [
@@ -274,7 +271,6 @@
274271
]
275272
}
276273
],
277-
"type": "tree",
278274
"rules": [
279275
{
280276
"conditions": [
@@ -294,11 +290,9 @@
294290
]
295291
}
296292
],
297-
"type": "tree",
298293
"rules": [
299294
{
300295
"conditions": [],
301-
"type": "tree",
302296
"rules": [
303297
{
304298
"conditions": [],
@@ -309,20 +303,22 @@
309303
},
310304
"type": "endpoint"
311305
}
312-
]
306+
],
307+
"type": "tree"
313308
}
314-
]
309+
],
310+
"type": "tree"
315311
},
316312
{
317313
"conditions": [],
318314
"error": "DualStack is enabled but this partition does not support DualStack",
319315
"type": "error"
320316
}
321-
]
317+
],
318+
"type": "tree"
322319
},
323320
{
324321
"conditions": [],
325-
"type": "tree",
326322
"rules": [
327323
{
328324
"conditions": [],
@@ -333,18 +329,22 @@
333329
},
334330
"type": "endpoint"
335331
}
336-
]
332+
],
333+
"type": "tree"
337334
}
338-
]
335+
],
336+
"type": "tree"
339337
}
340-
]
338+
],
339+
"type": "tree"
341340
},
342341
{
343342
"conditions": [],
344343
"error": "Invalid Configuration: Missing Region",
345344
"type": "error"
346345
}
347-
]
346+
],
347+
"type": "tree"
348348
}
349349
]
350350
}

services/licensemanagerlinuxsubscriptions/src/main/resources/codegen-resources/paginators-1.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
"output_token": "NextToken",
1212
"limit_key": "MaxResults",
1313
"result_key": "Subscriptions"
14+
},
15+
"ListRegisteredSubscriptionProviders": {
16+
"input_token": "NextToken",
17+
"output_token": "NextToken",
18+
"limit_key": "MaxResults",
19+
"result_key": "RegisteredSubscriptionProviders"
1420
}
1521
}
1622
}

0 commit comments

Comments
 (0)