Skip to content

Commit d6feb4b

Browse files
authored
misc: sync AWS models (#1682)
1 parent 31c555f commit d6feb4b

File tree

7 files changed

+906
-117
lines changed

7 files changed

+906
-117
lines changed

codegen/sdk/aws-models/auto-scaling.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,6 +2581,9 @@
25812581
"target": "com.amazonaws.autoscaling#BlockDeviceMapping"
25822582
}
25832583
},
2584+
"com.amazonaws.autoscaling#BooleanType": {
2585+
"type": "boolean"
2586+
},
25842587
"com.amazonaws.autoscaling#BurstablePerformance": {
25852588
"type": "enum",
25862589
"members": {
@@ -2660,6 +2663,12 @@
26602663
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
26612664
"smithy.api#required": {}
26622665
}
2666+
},
2667+
"WaitForTransitioningInstances": {
2668+
"target": "com.amazonaws.autoscaling#BooleanType",
2669+
"traits": {
2670+
"smithy.api#documentation": "<p>When cancelling an instance refresh, this indicates whether to wait for in-flight launches \n and terminations to complete. The default is true.</p>\n <p>When set to false, Amazon EC2 Auto Scaling cancels the instance refresh \n without waiting for any pending launches or terminations to complete.</p>"
2671+
}
26632672
}
26642673
}
26652674
},

codegen/sdk/aws-models/cloudwatch.json

Lines changed: 184 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,50 @@
9595
}
9696
}
9797
},
98+
"com.amazonaws.cloudwatch#AlarmContributor": {
99+
"type": "structure",
100+
"members": {
101+
"ContributorId": {
102+
"target": "com.amazonaws.cloudwatch#ContributorId",
103+
"traits": {
104+
"smithy.api#clientOptional": {},
105+
"smithy.api#documentation": "<p>The unique identifier for this alarm contributor.</p>",
106+
"smithy.api#required": {}
107+
}
108+
},
109+
"ContributorAttributes": {
110+
"target": "com.amazonaws.cloudwatch#ContributorAttributes",
111+
"traits": {
112+
"smithy.api#clientOptional": {},
113+
"smithy.api#documentation": "<p>A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.</p>",
114+
"smithy.api#required": {}
115+
}
116+
},
117+
"StateReason": {
118+
"target": "com.amazonaws.cloudwatch#StateReason",
119+
"traits": {
120+
"smithy.api#clientOptional": {},
121+
"smithy.api#documentation": "<p>An explanation for the contributor's current state, providing context about why it is in its current condition.</p>",
122+
"smithy.api#required": {}
123+
}
124+
},
125+
"StateTransitionedTimestamp": {
126+
"target": "com.amazonaws.cloudwatch#Timestamp",
127+
"traits": {
128+
"smithy.api#documentation": "<p>The timestamp when the contributor last transitioned to its current state.</p>"
129+
}
130+
}
131+
},
132+
"traits": {
133+
"smithy.api#documentation": "<p>Represents an individual contributor to a multi-timeseries alarm, containing information about a specific time series and its contribution to the alarm's state.</p>"
134+
}
135+
},
136+
"com.amazonaws.cloudwatch#AlarmContributors": {
137+
"type": "list",
138+
"member": {
139+
"target": "com.amazonaws.cloudwatch#AlarmContributor"
140+
}
141+
},
98142
"com.amazonaws.cloudwatch#AlarmDescription": {
99143
"type": "string",
100144
"traits": {
@@ -113,6 +157,12 @@
113157
"smithy.api#documentation": "<p>The descriptive name for the alarm.</p>"
114158
}
115159
},
160+
"AlarmContributorId": {
161+
"target": "com.amazonaws.cloudwatch#ContributorId",
162+
"traits": {
163+
"smithy.api#documentation": "<p>The unique identifier of the alarm contributor associated with this history item, if applicable.</p>"
164+
}
165+
},
116166
"AlarmType": {
117167
"target": "com.amazonaws.cloudwatch#AlarmType",
118168
"traits": {
@@ -142,6 +192,12 @@
142192
"traits": {
143193
"smithy.api#documentation": "<p>Data about the alarm, in JSON format.</p>"
144194
}
195+
},
196+
"AlarmContributorAttributes": {
197+
"target": "com.amazonaws.cloudwatch#ContributorAttributes",
198+
"traits": {
199+
"smithy.api#documentation": "<p>A map of attributes that describe the alarm contributor associated with this history item, providing context about the contributor's characteristics at the time of the event.</p>"
200+
}
145201
}
146202
},
147203
"traits": {
@@ -403,6 +459,24 @@
403459
"target": "com.amazonaws.cloudwatch#AnomalyDetector"
404460
}
405461
},
462+
"com.amazonaws.cloudwatch#AttributeName": {
463+
"type": "string",
464+
"traits": {
465+
"smithy.api#length": {
466+
"min": 1,
467+
"max": 255
468+
}
469+
}
470+
},
471+
"com.amazonaws.cloudwatch#AttributeValue": {
472+
"type": "string",
473+
"traits": {
474+
"smithy.api#length": {
475+
"min": 1,
476+
"max": 1024
477+
}
478+
}
479+
},
406480
"com.amazonaws.cloudwatch#AwsQueryErrorMessage": {
407481
"type": "string"
408482
},
@@ -617,6 +691,30 @@
617691
"smithy.api#httpError": 409
618692
}
619693
},
694+
"com.amazonaws.cloudwatch#ContributorAttributes": {
695+
"type": "map",
696+
"key": {
697+
"target": "com.amazonaws.cloudwatch#AttributeName"
698+
},
699+
"value": {
700+
"target": "com.amazonaws.cloudwatch#AttributeValue"
701+
},
702+
"traits": {
703+
"smithy.api#length": {
704+
"min": 0,
705+
"max": 30
706+
}
707+
}
708+
},
709+
"com.amazonaws.cloudwatch#ContributorId": {
710+
"type": "string",
711+
"traits": {
712+
"smithy.api#length": {
713+
"min": 1,
714+
"max": 1024
715+
}
716+
}
717+
},
620718
"com.amazonaws.cloudwatch#Counts": {
621719
"type": "list",
622720
"member": {
@@ -1106,6 +1204,70 @@
11061204
"smithy.api#output": {}
11071205
}
11081206
},
1207+
"com.amazonaws.cloudwatch#DescribeAlarmContributors": {
1208+
"type": "operation",
1209+
"input": {
1210+
"target": "com.amazonaws.cloudwatch#DescribeAlarmContributorsInput"
1211+
},
1212+
"output": {
1213+
"target": "com.amazonaws.cloudwatch#DescribeAlarmContributorsOutput"
1214+
},
1215+
"errors": [
1216+
{
1217+
"target": "com.amazonaws.cloudwatch#InvalidNextToken"
1218+
},
1219+
{
1220+
"target": "com.amazonaws.cloudwatch#ResourceNotFoundException"
1221+
}
1222+
],
1223+
"traits": {
1224+
"smithy.api#documentation": "<p>Returns the information of the current alarm contributors that are in <code>ALARM</code> state. This operation returns details about the individual time series that contribute to the alarm's state.</p>"
1225+
}
1226+
},
1227+
"com.amazonaws.cloudwatch#DescribeAlarmContributorsInput": {
1228+
"type": "structure",
1229+
"members": {
1230+
"AlarmName": {
1231+
"target": "com.amazonaws.cloudwatch#AlarmName",
1232+
"traits": {
1233+
"smithy.api#clientOptional": {},
1234+
"smithy.api#documentation": "<p>The name of the alarm for which to retrieve contributor information.</p>",
1235+
"smithy.api#required": {}
1236+
}
1237+
},
1238+
"NextToken": {
1239+
"target": "com.amazonaws.cloudwatch#NextToken",
1240+
"traits": {
1241+
"smithy.api#documentation": "<p>The token returned by a previous call to indicate that there is more data available.</p>"
1242+
}
1243+
}
1244+
},
1245+
"traits": {
1246+
"smithy.api#input": {}
1247+
}
1248+
},
1249+
"com.amazonaws.cloudwatch#DescribeAlarmContributorsOutput": {
1250+
"type": "structure",
1251+
"members": {
1252+
"AlarmContributors": {
1253+
"target": "com.amazonaws.cloudwatch#AlarmContributors",
1254+
"traits": {
1255+
"smithy.api#clientOptional": {},
1256+
"smithy.api#documentation": "<p>A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.</p>",
1257+
"smithy.api#required": {}
1258+
}
1259+
},
1260+
"NextToken": {
1261+
"target": "com.amazonaws.cloudwatch#NextToken",
1262+
"traits": {
1263+
"smithy.api#documentation": "<p>The token that marks the start of the next batch of returned results.</p>"
1264+
}
1265+
}
1266+
},
1267+
"traits": {
1268+
"smithy.api#output": {}
1269+
}
1270+
},
11091271
"com.amazonaws.cloudwatch#DescribeAlarmHistory": {
11101272
"type": "operation",
11111273
"input": {
@@ -1138,6 +1300,12 @@
11381300
"smithy.api#documentation": "<p>The name of the alarm.</p>"
11391301
}
11401302
},
1303+
"AlarmContributorId": {
1304+
"target": "com.amazonaws.cloudwatch#ContributorId",
1305+
"traits": {
1306+
"smithy.api#documentation": "<p>The unique identifier of a specific alarm contributor to filter the alarm history results.</p>"
1307+
}
1308+
},
11411309
"AlarmTypes": {
11421310
"target": "com.amazonaws.cloudwatch#AlarmTypes",
11431311
"traits": {
@@ -2621,6 +2789,9 @@
26212789
{
26222790
"target": "com.amazonaws.cloudwatch#DeleteMetricStream"
26232791
},
2792+
{
2793+
"target": "com.amazonaws.cloudwatch#DescribeAlarmContributors"
2794+
},
26242795
{
26252796
"target": "com.amazonaws.cloudwatch#DescribeAlarmHistory"
26262797
},
@@ -3743,6 +3914,18 @@
37433914
"traits": {
37443915
"smithy.api#enumValue": "Action"
37453916
}
3917+
},
3918+
"AlarmContributorStateUpdate": {
3919+
"target": "smithy.api#Unit",
3920+
"traits": {
3921+
"smithy.api#enumValue": "AlarmContributorStateUpdate"
3922+
}
3923+
},
3924+
"AlarmContributorAction": {
3925+
"target": "smithy.api#Unit",
3926+
"traits": {
3927+
"smithy.api#enumValue": "AlarmContributorAction"
3928+
}
37463929
}
37473930
}
37483931
},
@@ -5854,7 +6037,7 @@
58546037
"ApplyOnTransformedLogs": {
58556038
"target": "com.amazonaws.cloudwatch#InsightRuleOnTransformedLogs",
58566039
"traits": {
5857-
"smithy.api#documentation": "<p>Specify <code>true</code> to have this rule evalute log events after they have been transformed by \n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html\">Log transformation</a>. If you specify <code>true</code>, then the log events in log groups that have transformers will \n be evaluated by Contributor Insights after being transformed. Log groups that don't have\n transformers will still have their original log events evaluated by Contributor Insights.</p>\n <p>The default is <code>false</code>\n </p>\n <note>\n <p>If a log group has a transformer, and transformation fails for some log events, those log events won't be evaluated by\n Contributor Insights. For information about investigating log transformation failures, see\n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Transformation-Errors-Metrics.html\">Transformation metrics and errors</a>.</p>\n </note>"
6040+
"smithy.api#documentation": "<p>Specify <code>true</code> to have this rule evaluate log events after they have been transformed by \n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html\">Log transformation</a>. If you specify <code>true</code>, then the log events in log groups that have transformers will \n be evaluated by Contributor Insights after being transformed. Log groups that don't have\n transformers will still have their original log events evaluated by Contributor Insights.</p>\n <p>The default is <code>false</code>\n </p>\n <note>\n <p>If a log group has a transformer, and transformation fails for some log events, those log events won't be evaluated by\n Contributor Insights. For information about investigating log transformation failures, see\n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Transformation-Errors-Metrics.html\">Transformation metrics and errors</a>.</p>\n </note>"
58586041
}
58596042
}
58606043
},

0 commit comments

Comments
 (0)