Skip to content

Commit 878c62c

Browse files
author
AWS
committed
AWS Billing Update: Added name filtering support to ListBillingViews API through the new names parameter to efficiently filter billing views by name.
1 parent bc7acd7 commit 878c62c

File tree

3 files changed

+105
-59
lines changed

3 files changed

+105
-59
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 Billing",
4+
"contributor": "",
5+
"description": "Added name filtering support to ListBillingViews API through the new names parameter to efficiently filter billing views by name."
6+
}

services/billing/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -202,85 +202,43 @@
202202
}
203203
},
204204
{
205-
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
206-
"expect": {
207-
"endpoint": {
208-
"properties": {
209-
"authSchemes": [
210-
{
211-
"name": "sigv4",
212-
"signingRegion": "us-gov-west-1"
213-
}
214-
]
215-
},
216-
"url": "https://billing-fips.us-gov-west-1.api.aws"
217-
}
218-
},
219-
"params": {
220-
"Region": "us-gov-west-1",
221-
"UseFIPS": true,
222-
"UseDualStack": true
223-
}
224-
},
225-
{
226-
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
205+
"documentation": "For region eusc-de-east-1 with FIPS enabled and DualStack disabled",
227206
"expect": {
228207
"endpoint": {
229208
"properties": {
230209
"authSchemes": [
231210
{
232211
"name": "sigv4",
233-
"signingRegion": "us-gov-west-1"
212+
"signingRegion": "eusc-de-east-1"
234213
}
235214
]
236215
},
237-
"url": "https://billing-fips.us-gov-west-1.amazonaws.com"
216+
"url": "https://billing-fips.eusc-de-east-1.amazonaws.eu"
238217
}
239218
},
240219
"params": {
241-
"Region": "us-gov-west-1",
220+
"Region": "eusc-de-east-1",
242221
"UseFIPS": true,
243222
"UseDualStack": false
244223
}
245224
},
246225
{
247-
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
248-
"expect": {
249-
"endpoint": {
250-
"properties": {
251-
"authSchemes": [
252-
{
253-
"name": "sigv4",
254-
"signingRegion": "us-gov-west-1"
255-
}
256-
]
257-
},
258-
"url": "https://billing.us-gov-west-1.api.aws"
259-
}
260-
},
261-
"params": {
262-
"Region": "us-gov-west-1",
263-
"UseFIPS": false,
264-
"UseDualStack": true
265-
}
266-
},
267-
{
268-
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
226+
"documentation": "For region eusc-de-east-1 with FIPS disabled and DualStack disabled",
269227
"expect": {
270228
"endpoint": {
271229
"properties": {
272230
"authSchemes": [
273231
{
274232
"name": "sigv4",
275-
"signingRegion": "us-gov-west-1"
233+
"signingRegion": "eusc-de-east-1"
276234
}
277235
]
278236
},
279-
"url": "https://billing.us-gov-west-1.amazonaws.com"
237+
"url": "https://billing.eusc-de-east-1.amazonaws.eu"
280238
}
281239
},
282240
"params": {
283-
"Region": "us-gov-west-1",
241+
"Region": "eusc-de-east-1",
284242
"UseFIPS": false,
285243
"UseDualStack": false
286244
}
@@ -454,43 +412,85 @@
454412
}
455413
},
456414
{
457-
"documentation": "For region eusc-de-east-1 with FIPS enabled and DualStack disabled",
415+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
458416
"expect": {
459417
"endpoint": {
460418
"properties": {
461419
"authSchemes": [
462420
{
463421
"name": "sigv4",
464-
"signingRegion": "eusc-de-east-1"
422+
"signingRegion": "us-gov-west-1"
465423
}
466424
]
467425
},
468-
"url": "https://billing-fips.eusc-de-east-1.amazonaws.eu"
426+
"url": "https://billing-fips.us-gov-west-1.api.aws"
469427
}
470428
},
471429
"params": {
472-
"Region": "eusc-de-east-1",
430+
"Region": "us-gov-west-1",
431+
"UseFIPS": true,
432+
"UseDualStack": true
433+
}
434+
},
435+
{
436+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
437+
"expect": {
438+
"endpoint": {
439+
"properties": {
440+
"authSchemes": [
441+
{
442+
"name": "sigv4",
443+
"signingRegion": "us-gov-west-1"
444+
}
445+
]
446+
},
447+
"url": "https://billing-fips.us-gov-west-1.amazonaws.com"
448+
}
449+
},
450+
"params": {
451+
"Region": "us-gov-west-1",
473452
"UseFIPS": true,
474453
"UseDualStack": false
475454
}
476455
},
477456
{
478-
"documentation": "For region eusc-de-east-1 with FIPS disabled and DualStack disabled",
457+
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
479458
"expect": {
480459
"endpoint": {
481460
"properties": {
482461
"authSchemes": [
483462
{
484463
"name": "sigv4",
485-
"signingRegion": "eusc-de-east-1"
464+
"signingRegion": "us-gov-west-1"
486465
}
487466
]
488467
},
489-
"url": "https://billing.eusc-de-east-1.amazonaws.eu"
468+
"url": "https://billing.us-gov-west-1.api.aws"
490469
}
491470
},
492471
"params": {
493-
"Region": "eusc-de-east-1",
472+
"Region": "us-gov-west-1",
473+
"UseFIPS": false,
474+
"UseDualStack": true
475+
}
476+
},
477+
{
478+
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
479+
"expect": {
480+
"endpoint": {
481+
"properties": {
482+
"authSchemes": [
483+
{
484+
"name": "sigv4",
485+
"signingRegion": "us-gov-west-1"
486+
}
487+
]
488+
},
489+
"url": "https://billing.us-gov-west-1.amazonaws.com"
490+
}
491+
},
492+
"params": {
493+
"Region": "us-gov-west-1",
494494
"UseFIPS": false,
495495
"UseDualStack": false
496496
}

services/billing/src/main/resources/codegen-resources/service-2.json

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,9 @@
479479
"enum":[
480480
"PRIMARY",
481481
"BILLING_GROUP",
482-
"CUSTOM"
482+
"CUSTOM",
483+
"BILLING_TRANSFER",
484+
"BILLING_TRANSFER_SHOWBACK"
483485
]
484486
},
485487
"BillingViewTypeList":{
@@ -743,6 +745,10 @@
743745
"shape":"BillingViewTypeList",
744746
"documentation":"<p>The type of billing view.</p>"
745747
},
748+
"names":{
749+
"shape":"StringSearches",
750+
"documentation":"<p> Filters the list of billing views by name. You can specify search criteria to match billing view names based on the search option provided. </p>"
751+
},
746752
"ownerAccountId":{
747753
"shape":"AccountId",
748754
"documentation":"<p> The list of owners of the billing view. </p>"
@@ -909,6 +915,16 @@
909915
"max":1024,
910916
"min":1
911917
},
918+
"SearchOption":{
919+
"type":"string",
920+
"enum":["STARTS_WITH"]
921+
},
922+
"SearchValue":{
923+
"type":"string",
924+
"max":128,
925+
"min":1,
926+
"pattern":"[a-zA-Z0-9_\\+=\\.\\-@ ]+"
927+
},
912928
"ServiceCode":{
913929
"type":"string",
914930
"max":1024,
@@ -945,6 +961,30 @@
945961
"documentation":"<p> You've reached the limit of resources you can create, or exceeded the size of an individual resource. </p>",
946962
"exception":true
947963
},
964+
"StringSearch":{
965+
"type":"structure",
966+
"required":[
967+
"searchOption",
968+
"searchValue"
969+
],
970+
"members":{
971+
"searchOption":{
972+
"shape":"SearchOption",
973+
"documentation":"<p> The type of search operation to perform on the string value. Determines how the search value is matched against the target field. </p>"
974+
},
975+
"searchValue":{
976+
"shape":"SearchValue",
977+
"documentation":"<p> The string value to use in the search operation. This value is compared against the target field using the specified search option. </p>"
978+
}
979+
},
980+
"documentation":"<p> A structure that defines how to search for string values. You can specify a search option and the value to search for. </p>"
981+
},
982+
"StringSearches":{
983+
"type":"list",
984+
"member":{"shape":"StringSearch"},
985+
"max":1,
986+
"min":1
987+
},
948988
"TagKey":{
949989
"type":"string",
950990
"max":1024,

0 commit comments

Comments
 (0)