Skip to content

Commit 73b2240

Browse files
author
awstools
committed
docs(client-cloudwatch): Doc-only update to incorporate several doc bug fixes
1 parent ad6d1ed commit 73b2240

File tree

3 files changed

+6831
-6800
lines changed

3 files changed

+6831
-6800
lines changed

clients/client-cloudwatch/src/endpoint/ruleset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]},
2828
p=[j],
2929
q=[k],
3030
r=[{[v]:"Region"}];
31-
const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://monitoring.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://monitoring.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]};
31+
const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://monitoring.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://monitoring.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]};
3232
export const ruleSet: RuleSetObject = _data;

clients/client-cloudwatch/src/models/models_0.ts

Lines changed: 74 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,8 +1394,13 @@ export interface DescribeAlarmsInput {
13941394

13951395
/**
13961396
* @public
1397-
* <p>Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter,
1398-
* only metric alarms are returned.</p>
1397+
* <p>Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you
1398+
* omit this parameter,
1399+
* only metric alarms are returned, even if composite alarms exist in the account.</p>
1400+
* <p>For example, if you omit this parameter or specify <code>MetricAlarms</code>, the operation returns only a list of metric
1401+
* alarms. It does not return any composite alarms, even if composite alarms exist in the account.</p>
1402+
* <p>If you specify <code>CompositeAlarms</code>, the operation returns only a list of composite
1403+
* alarms, and does not return any metric alarms.</p>
13991404
*/
14001405
AlarmTypes?: (AlarmType | string)[];
14011406

@@ -2164,7 +2169,7 @@ export interface GetInsightRuleReportInput {
21642169

21652170
/**
21662171
* @public
2167-
* <p>Determines what statistic to use to rank the contributors. Valid values are SUM and MAXIMUM.</p>
2172+
* <p>Determines what statistic to use to rank the contributors. Valid values are <code>Sum</code> and <code>Maximum</code>.</p>
21682173
*/
21692174
OrderBy?: string;
21702175
}
@@ -4216,10 +4221,70 @@ export interface PutMetricAlarmInput {
42164221

42174222
/**
42184223
* @public
4219-
* <p>The percentile statistic for the metric specified in <code>MetricName</code>. Specify a value
4220-
* between p0.0 and p100. When you call <code>PutMetricAlarm</code> and specify
4224+
* <p>The extended statistic for the metric specified in <code>MetricName</code>. When you
4225+
* call <code>PutMetricAlarm</code> and specify
42214226
* a <code>MetricName</code>, you must
4222-
* specify either <code>Statistic</code> or <code>ExtendedStatistic,</code> but not both.</p>
4227+
* specify either <code>Statistic</code> or <code>ExtendedStatistic</code> but not both.</p>
4228+
* <p>If you specify <code>ExtendedStatistic</code>, the following are valid values:</p>
4229+
* <ul>
4230+
* <li>
4231+
* <p>
4232+
* <code>p90</code>
4233+
* </p>
4234+
* </li>
4235+
* <li>
4236+
* <p>
4237+
* <code>tm90</code>
4238+
* </p>
4239+
* </li>
4240+
* <li>
4241+
* <p>
4242+
* <code>tc90</code>
4243+
* </p>
4244+
* </li>
4245+
* <li>
4246+
* <p>
4247+
* <code>ts90</code>
4248+
* </p>
4249+
* </li>
4250+
* <li>
4251+
* <p>
4252+
* <code>wm90</code>
4253+
* </p>
4254+
* </li>
4255+
* <li>
4256+
* <p>
4257+
* <code>IQM</code>
4258+
* </p>
4259+
* </li>
4260+
* <li>
4261+
* <p>
4262+
* <code>PR(<i>n</i>:<i>m</i>)</code> where n and m are values
4263+
* of the metric</p>
4264+
* </li>
4265+
* <li>
4266+
* <p>
4267+
* <code>TC(<i>X</i>%:<i>X</i>%)</code> where X is between
4268+
* 10 and 90 inclusive.</p>
4269+
* </li>
4270+
* <li>
4271+
* <p>
4272+
* <code>TM(<i>X</i>%:<i>X</i>%)</code> where X is between
4273+
* 10 and 90 inclusive.</p>
4274+
* </li>
4275+
* <li>
4276+
* <p>
4277+
* <code>TS(<i>X</i>%:<i>X</i>%)</code> where X is between
4278+
* 10 and 90 inclusive.</p>
4279+
* </li>
4280+
* <li>
4281+
* <p>
4282+
* <code>WM(<i>X</i>%:<i>X</i>%)</code> where X is between
4283+
* 10 and 90 inclusive.</p>
4284+
* </li>
4285+
* </ul>
4286+
* <p>For more information about these extended statistics, see
4287+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html">CloudWatch statistics definitions</a>.</p>
42234288
*/
42244289
ExtendedStatistic?: string;
42254290

@@ -4349,7 +4414,9 @@ export interface PutMetricAlarmInput {
43494414

43504415
/**
43514416
* @public
4352-
* <p>A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm.</p>
4417+
* <p>A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm.
4418+
* To be able to associate tags with the alarm when you create the alarm, you must
4419+
* have the <code>cloudwatch:TagResource</code> permission.</p>
43534420
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
43544421
* permissions by granting a user
43554422
* permission to access or change only resources with certain tag values.</p>

0 commit comments

Comments
 (0)