Skip to content

Commit 6d84a09

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent d558582 commit 6d84a09

File tree

6 files changed

+2061
-545
lines changed

6 files changed

+2061
-545
lines changed

codegen/sdk-codegen/aws-models/billingconductor.json

Lines changed: 142 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"parameters": {
7474
"Region": {
7575
"builtIn": "AWS::Region",
76-
"required": false,
76+
"required": true,
7777
"documentation": "The AWS region used to dispatch the request.",
7878
"type": "String"
7979
},
@@ -669,18 +669,18 @@
669669
"authSchemes": [
670670
{
671671
"name": "sigv4",
672-
"signingRegion": "us-east-1",
673-
"signingName": "billingconductor"
672+
"signingName": "billingconductor",
673+
"signingRegion": "us-east-1"
674674
}
675675
]
676676
},
677677
"url": "https://billingconductor.us-east-1.amazonaws.com"
678678
}
679679
},
680680
"params": {
681+
"UseDualStack": false,
681682
"UseFIPS": false,
682-
"Region": "aws-global",
683-
"UseDualStack": false
683+
"Region": "aws-global"
684684
}
685685
},
686686
{
@@ -691,9 +691,9 @@
691691
}
692692
},
693693
"params": {
694+
"UseDualStack": false,
694695
"UseFIPS": false,
695696
"Region": "us-east-1",
696-
"UseDualStack": false,
697697
"Endpoint": "https://example.com"
698698
}
699699
},
@@ -703,9 +703,9 @@
703703
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
704704
},
705705
"params": {
706+
"UseDualStack": false,
706707
"UseFIPS": true,
707708
"Region": "us-east-1",
708-
"UseDualStack": false,
709709
"Endpoint": "https://example.com"
710710
}
711711
},
@@ -715,9 +715,9 @@
715715
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
716716
},
717717
"params": {
718+
"UseDualStack": true,
718719
"UseFIPS": false,
719720
"Region": "us-east-1",
720-
"UseDualStack": true,
721721
"Endpoint": "https://example.com"
722722
}
723723
}
@@ -1761,6 +1761,21 @@
17611761
}
17621762
}
17631763
},
1764+
"com.amazonaws.billingconductor#CreateFreeTierConfig": {
1765+
"type": "structure",
1766+
"members": {
1767+
"Activated": {
1768+
"target": "com.amazonaws.billingconductor#TieringActivated",
1769+
"traits": {
1770+
"smithy.api#documentation": "<p>\n Activate or deactivate Amazon Web Services Free Tier.\n </p>",
1771+
"smithy.api#required": {}
1772+
}
1773+
}
1774+
},
1775+
"traits": {
1776+
"smithy.api#documentation": "<p>\n The possible Amazon Web Services Free Tier configurations.\n </p>"
1777+
}
1778+
},
17641779
"com.amazonaws.billingconductor#CreatePricingPlan": {
17651780
"type": "operation",
17661781
"input": {
@@ -1940,8 +1955,7 @@
19401955
"ModifierPercentage": {
19411956
"target": "com.amazonaws.billingconductor#ModifierPercentage",
19421957
"traits": {
1943-
"smithy.api#documentation": "<p> A percentage modifier that's applied on the public pricing rates. </p>",
1944-
"smithy.api#required": {}
1958+
"smithy.api#documentation": "<p> A percentage modifier that's applied on the public pricing rates. </p>"
19451959
}
19461960
},
19471961
"Service": {
@@ -1961,6 +1975,12 @@
19611975
"traits": {
19621976
"smithy.api#documentation": "<p>\n The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.\n </p>"
19631977
}
1978+
},
1979+
"Tiering": {
1980+
"target": "com.amazonaws.billingconductor#CreateTieringInput",
1981+
"traits": {
1982+
"smithy.api#documentation": "<p>\n The set of tiering configurations for the pricing rule.\n </p>"
1983+
}
19641984
}
19651985
}
19661986
},
@@ -1975,6 +1995,21 @@
19751995
}
19761996
}
19771997
},
1998+
"com.amazonaws.billingconductor#CreateTieringInput": {
1999+
"type": "structure",
2000+
"members": {
2001+
"FreeTier": {
2002+
"target": "com.amazonaws.billingconductor#CreateFreeTierConfig",
2003+
"traits": {
2004+
"smithy.api#documentation": "<p>\n The possible Amazon Web Services Free Tier configurations.\n </p>",
2005+
"smithy.api#required": {}
2006+
}
2007+
}
2008+
},
2009+
"traits": {
2010+
"smithy.api#documentation": "<p>\n The set of tiering configurations for the pricing rule.\n </p>"
2011+
}
2012+
},
19782013
"com.amazonaws.billingconductor#Currency": {
19792014
"type": "string"
19802015
},
@@ -2818,6 +2853,21 @@
28182853
"target": "com.amazonaws.billingconductor#DisassociateResourceResponseElement"
28192854
}
28202855
},
2856+
"com.amazonaws.billingconductor#FreeTierConfig": {
2857+
"type": "structure",
2858+
"members": {
2859+
"Activated": {
2860+
"target": "com.amazonaws.billingconductor#TieringActivated",
2861+
"traits": {
2862+
"smithy.api#documentation": "<p>\n Activate or deactivate Amazon Web Services Free Tier application.\n </p>",
2863+
"smithy.api#required": {}
2864+
}
2865+
}
2866+
},
2867+
"traits": {
2868+
"smithy.api#documentation": "<p>\n The possible Amazon Web Services Free Tier configurations.\n </p>"
2869+
}
2870+
},
28212871
"com.amazonaws.billingconductor#Instant": {
28222872
"type": "long",
28232873
"traits": {
@@ -4339,7 +4389,6 @@
43394389
}
43404390
],
43414391
"traits": {
4342-
"aws.cloudformation#cfnResource": {},
43434392
"aws.iam#conditionKeys": [
43444393
"aws:ResourceTag/${TagKey}"
43454394
],
@@ -4476,6 +4525,12 @@
44764525
"traits": {
44774526
"smithy.api#documentation": "<p>\n The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.\n </p>"
44784527
}
4528+
},
4529+
"Tiering": {
4530+
"target": "com.amazonaws.billingconductor#Tiering",
4531+
"traits": {
4532+
"smithy.api#documentation": "<p>\n The set of tiering configurations for the pricing rule.\n </p>"
4533+
}
44794534
}
44804535
},
44814536
"traits": {
@@ -4523,6 +4578,10 @@
45234578
{
45244579
"value": "DISCOUNT",
45254580
"name": "DISCOUNT"
4581+
},
4582+
{
4583+
"value": "TIERING",
4584+
"name": "TIERING"
45264585
}
45274586
]
45284587
}
@@ -4781,6 +4840,24 @@
47814840
"smithy.api#httpError": 429
47824841
}
47834842
},
4843+
"com.amazonaws.billingconductor#Tiering": {
4844+
"type": "structure",
4845+
"members": {
4846+
"FreeTier": {
4847+
"target": "com.amazonaws.billingconductor#FreeTierConfig",
4848+
"traits": {
4849+
"smithy.api#documentation": "<p>\n The possible Amazon Web Services Free Tier configurations.\n </p>",
4850+
"smithy.api#required": {}
4851+
}
4852+
}
4853+
},
4854+
"traits": {
4855+
"smithy.api#documentation": "<p>\n The set of tiering configurations for the pricing rule.\n </p>"
4856+
}
4857+
},
4858+
"com.amazonaws.billingconductor#TieringActivated": {
4859+
"type": "boolean"
4860+
},
47844861
"com.amazonaws.billingconductor#Token": {
47854862
"type": "string"
47864863
},
@@ -5178,6 +5255,21 @@
51785255
"smithy.api#documentation": "<p>\n A representation of the new charge details that are associated with a percentage custom line item.\n </p>"
51795256
}
51805257
},
5258+
"com.amazonaws.billingconductor#UpdateFreeTierConfig": {
5259+
"type": "structure",
5260+
"members": {
5261+
"Activated": {
5262+
"target": "com.amazonaws.billingconductor#TieringActivated",
5263+
"traits": {
5264+
"smithy.api#documentation": "<p>\n Activate or deactivate application of Amazon Web Services Free Tier.\n </p>",
5265+
"smithy.api#required": {}
5266+
}
5267+
}
5268+
},
5269+
"traits": {
5270+
"smithy.api#documentation": "<p>\n The possible Amazon Web Services Free Tier configurations.\n </p>"
5271+
}
5272+
},
51815273
"com.amazonaws.billingconductor#UpdatePricingPlan": {
51825274
"type": "operation",
51835275
"input": {
@@ -5348,6 +5440,12 @@
53485440
"traits": {
53495441
"smithy.api#documentation": "<p>\n The new modifier to show pricing plan rates as a percentage.\n </p>"
53505442
}
5443+
},
5444+
"Tiering": {
5445+
"target": "com.amazonaws.billingconductor#UpdateTieringInput",
5446+
"traits": {
5447+
"smithy.api#documentation": "<p>\n The set of tiering configurations for the pricing rule.\n </p>"
5448+
}
53515449
}
53525450
}
53535451
},
@@ -5415,9 +5513,30 @@
54155513
"traits": {
54165514
"smithy.api#documentation": "<p>\n The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.\n </p>"
54175515
}
5516+
},
5517+
"Tiering": {
5518+
"target": "com.amazonaws.billingconductor#UpdateTieringInput",
5519+
"traits": {
5520+
"smithy.api#documentation": "<p>\n The set of tiering configurations for the pricing rule.\n </p>"
5521+
}
54185522
}
54195523
}
54205524
},
5525+
"com.amazonaws.billingconductor#UpdateTieringInput": {
5526+
"type": "structure",
5527+
"members": {
5528+
"FreeTier": {
5529+
"target": "com.amazonaws.billingconductor#UpdateFreeTierConfig",
5530+
"traits": {
5531+
"smithy.api#documentation": "<p>\n The possible Amazon Web Services Free Tier configurations.\n </p>",
5532+
"smithy.api#required": {}
5533+
}
5534+
}
5535+
},
5536+
"traits": {
5537+
"smithy.api#documentation": "<p>\n The set of tiering configurations for the pricing rule.\n </p>"
5538+
}
5539+
},
54215540
"com.amazonaws.billingconductor#ValidationException": {
54225541
"type": "structure",
54235542
"members": {
@@ -5677,6 +5796,18 @@
56775796
{
56785797
"value": "ILLEGAL_MODIFIER_PERCENTAGE",
56795798
"name": "ILLEGAL_MODIFIER_PERCENTAGE"
5799+
},
5800+
{
5801+
"value": "ILLEGAL_TYPE",
5802+
"name": "ILLEGAL_TYPE"
5803+
},
5804+
{
5805+
"value": "ILLEGAL_ENDED_BILLINGGROUP",
5806+
"name": "ILLEGAL_ENDED_BILLINGGROUP"
5807+
},
5808+
{
5809+
"value": "ILLEGAL_TIERING_INPUT",
5810+
"name": "ILLEGAL_TIERING_INPUT"
56805811
}
56815812
]
56825813
}

0 commit comments

Comments
 (0)