You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(typeofoptionsOrCb!=="object")thrownewError(`Expect http options but get ${typeofoptionsOrCb}`);
1124
+
this.send(command,optionsOrCb||{},cb);
1125
+
}else{
1126
+
returnthis.send(command,optionsOrCb);
1127
+
}
1128
+
}
1129
+
1082
1130
/**
1083
1131
* <p>List the specified metrics. You can use the returned metrics with
1084
1132
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html">GetMetricData</a> or
@@ -1367,6 +1415,54 @@ export class CloudWatch extends CloudWatchClient {
1367
1415
}
1368
1416
}
1369
1417
1418
+
/**
1419
+
* <p>
1420
+
* Creates a managed Contributor Insights rule
1421
+
* for a specified Amazon Web Services resource.
1422
+
* When you enable a managed rule,
1423
+
* you create a Contributor Insights rule
1424
+
* that collects data
1425
+
* from Amazon Web Services services.
1426
+
* You cannot edit these rules
1427
+
* with <code>PutInsightRule</code>.
1428
+
* The rules can be enabled, disabled, and deleted using <code>EnableInsightRules</code>, <code>DisableInsightRules</code>, and <code>DeleteInsightRules</code>.
1429
+
* If a previously created managed rule is currently disabled,
0 commit comments