Skip to content

Commit b57dd6e

Browse files
feat: update AWS API models
1 parent a46b072 commit b57dd6e

File tree

7 files changed

+233
-45
lines changed

7 files changed

+233
-45
lines changed

codegen/sdk/aws-models/bedrock.json

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,6 +2044,12 @@
20442044
"traits": {
20452045
"smithy.api#enumValue": "GENERATED_TEST_CASES"
20462046
}
2047+
},
2048+
"POLICY_SCENARIOS": {
2049+
"target": "smithy.api#Unit",
2050+
"traits": {
2051+
"smithy.api#enumValue": "POLICY_SCENARIOS"
2052+
}
20472053
}
20482054
}
20492055
},
@@ -2073,6 +2079,12 @@
20732079
"traits": {
20742080
"smithy.api#documentation": "<p>A comprehensive test suite generated by the build workflow, providing validation capabilities for automated reasoning policies.</p>"
20752081
}
2082+
},
2083+
"policyScenarios": {
2084+
"target": "com.amazonaws.bedrock#AutomatedReasoningPolicyScenarios",
2085+
"traits": {
2086+
"smithy.api#documentation": "<p>An entity encompassing all the policy scenarios generated by the build workflow, which can be used to validate an Automated Reasoning policy. </p>"
2087+
}
20762088
}
20772089
},
20782090
"traits": {
@@ -3268,17 +3280,17 @@
32683280
"smithy.api#required": {}
32693281
}
32703282
},
3271-
"ruleIds": {
3272-
"target": "com.amazonaws.bedrock#AutomatedReasoningPolicyDefinitionRuleIdList",
3283+
"expectedResult": {
3284+
"target": "com.amazonaws.bedrock#AutomatedReasoningCheckResult",
32733285
"traits": {
3274-
"smithy.api#documentation": "<p>The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.</p>",
3286+
"smithy.api#documentation": "<p>The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).</p>",
32753287
"smithy.api#required": {}
32763288
}
32773289
},
3278-
"expectedResult": {
3279-
"target": "com.amazonaws.bedrock#AutomatedReasoningCheckResult",
3290+
"ruleIds": {
3291+
"target": "com.amazonaws.bedrock#AutomatedReasoningPolicyDefinitionRuleIdList",
32803292
"traits": {
3281-
"smithy.api#documentation": "<p>The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).</p>",
3293+
"smithy.api#documentation": "<p>The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.</p>",
32823294
"smithy.api#required": {}
32833295
}
32843296
}
@@ -3305,6 +3317,27 @@
33053317
"smithy.api#sensitive": {}
33063318
}
33073319
},
3320+
"com.amazonaws.bedrock#AutomatedReasoningPolicyScenarioList": {
3321+
"type": "list",
3322+
"member": {
3323+
"target": "com.amazonaws.bedrock#AutomatedReasoningPolicyScenario"
3324+
}
3325+
},
3326+
"com.amazonaws.bedrock#AutomatedReasoningPolicyScenarios": {
3327+
"type": "structure",
3328+
"members": {
3329+
"policyScenarios": {
3330+
"target": "com.amazonaws.bedrock#AutomatedReasoningPolicyScenarioList",
3331+
"traits": {
3332+
"smithy.api#documentation": "<p>Represents a collection of generated policy scenarios.</p>",
3333+
"smithy.api#required": {}
3334+
}
3335+
}
3336+
},
3337+
"traits": {
3338+
"smithy.api#documentation": "<p>Contains a comprehensive entity encompassing all the scenarios generated by the build workflow, which can be used to validate an Automated Reasoning policy.</p>"
3339+
}
3340+
},
33083341
"com.amazonaws.bedrock#AutomatedReasoningPolicySummaries": {
33093342
"type": "list",
33103343
"member": {

codegen/sdk/aws-models/billingconductor.json

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,28 @@
11251125
"smithy.api#documentation": "<p>The key-value pair that represents the attribute by which the <code>BillingGroupCostReportResults</code> are grouped. For example, if you want a service-level breakdown for Amazon Simple Storage Service (Amazon S3) of the billing group, the attribute will be a key-value pair of <code>\"PRODUCT_NAME\"</code> and <code>\"S3\"</code>.</p>"
11261126
}
11271127
},
1128+
"com.amazonaws.billingconductor#AttributeValue": {
1129+
"type": "string",
1130+
"traits": {
1131+
"smithy.api#length": {
1132+
"min": 1,
1133+
"max": 128
1134+
},
1135+
"smithy.api#pattern": "^[a-zA-Z0-9]+$"
1136+
}
1137+
},
1138+
"com.amazonaws.billingconductor#AttributeValueList": {
1139+
"type": "list",
1140+
"member": {
1141+
"target": "com.amazonaws.billingconductor#AttributeValue"
1142+
},
1143+
"traits": {
1144+
"smithy.api#length": {
1145+
"min": 0,
1146+
"max": 1
1147+
}
1148+
}
1149+
},
11281150
"com.amazonaws.billingconductor#AttributesList": {
11291151
"type": "list",
11301152
"member": {
@@ -1691,6 +1713,12 @@
16911713
"com.amazonaws.billingconductor#ComputationRuleEnum": {
16921714
"type": "enum",
16931715
"members": {
1716+
"ITEMIZED": {
1717+
"target": "smithy.api#Unit",
1718+
"traits": {
1719+
"smithy.api#enumValue": "ITEMIZED"
1720+
}
1721+
},
16941722
"CONSOLIDATED": {
16951723
"target": "smithy.api#Unit",
16961724
"traits": {
@@ -3364,8 +3392,15 @@
33643392
"Values": {
33653393
"target": "com.amazonaws.billingconductor#LineItemFilterValuesList",
33663394
"traits": {
3367-
"smithy.api#documentation": "<p>The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings Plans discounts.</p>",
3368-
"smithy.api#required": {}
3395+
"smithy.api#addedDefault": {},
3396+
"smithy.api#default": [],
3397+
"smithy.api#documentation": "<p>The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings Plans discounts.</p>"
3398+
}
3399+
},
3400+
"AttributeValues": {
3401+
"target": "com.amazonaws.billingconductor#AttributeValueList",
3402+
"traits": {
3403+
"smithy.api#documentation": "<p>The values of the line item filter. This specifies the values to filter on.</p>"
33693404
}
33703405
}
33713406
},
@@ -3381,6 +3416,12 @@
33813416
"traits": {
33823417
"smithy.api#enumValue": "LINE_ITEM_TYPE"
33833418
}
3419+
},
3420+
"SERVICE": {
3421+
"target": "smithy.api#Unit",
3422+
"traits": {
3423+
"smithy.api#enumValue": "SERVICE"
3424+
}
33843425
}
33853426
}
33863427
},
@@ -4748,6 +4789,12 @@
47484789
"traits": {
47494790
"smithy.api#enumValue": "NOT_EQUAL"
47504791
}
4792+
},
4793+
"EQUAL": {
4794+
"target": "smithy.api#Unit",
4795+
"traits": {
4796+
"smithy.api#enumValue": "EQUAL"
4797+
}
47514798
}
47524799
}
47534800
},
@@ -6725,6 +6772,12 @@
67256772
"smithy.api#enumValue": "ILLEGAL_BILLING_GROUP_TYPE"
67266773
}
67276774
},
6775+
"ILLEGAL_BILLING_GROUP_PRICING_PLAN": {
6776+
"target": "smithy.api#Unit",
6777+
"traits": {
6778+
"smithy.api#enumValue": "ILLEGAL_BILLING_GROUP_PRICING_PLAN"
6779+
}
6780+
},
67286781
"ILLEGAL_ENDED_BILLINGGROUP": {
67296782
"target": "smithy.api#Unit",
67306783
"traits": {

codegen/sdk/aws-models/cloudwatch.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2904,12 +2904,15 @@
29042904
"aws.auth#sigv4": {
29052905
"name": "monitoring"
29062906
},
2907+
"aws.protocols#awsJson1_0": {},
29072908
"aws.protocols#awsQuery": {},
2909+
"aws.protocols#awsQueryCompatible": {},
29082910
"smithy.api#documentation": "<p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services)\n resources and the applications you run on Amazon Web Services in real time. You can use\n CloudWatch to collect and track metrics, which are the variables you want to\n measure for your resources and applications.</p>\n <p>CloudWatch alarms send notifications or automatically change the resources you are\n monitoring based on rules that you define. For example, you can monitor the CPU usage\n and disk reads and writes of your Amazon EC2 instances. Then, use this data to determine\n whether you should launch additional instances to handle increased load. You can also\n use this data to stop under-used instances to save money.</p>\n <p>In addition to monitoring the built-in metrics that come with Amazon Web Services,\n you can monitor your own custom metrics. With CloudWatch, you gain system-wide\n visibility into resource utilization, application performance, and operational\n health.</p>",
29092911
"smithy.api#title": "Amazon CloudWatch",
29102912
"smithy.api#xmlNamespace": {
29112913
"uri": "http://monitoring.amazonaws.com/doc/2010-08-01/"
29122914
},
2915+
"smithy.protocols#rpcv2Cbor": {},
29132916
"smithy.rules#endpointRuleSet": {
29142917
"version": "1.0",
29152918
"parameters": {

0 commit comments

Comments
 (0)