|
513 | 513 | { |
514 | 514 | "target": "com.amazonaws.iot#ListManagedJobTemplates" |
515 | 515 | }, |
| 516 | + { |
| 517 | + "target": "com.amazonaws.iot#ListMetricValues" |
| 518 | + }, |
516 | 519 | { |
517 | 520 | "target": "com.amazonaws.iot#ListMitigationActions" |
518 | 521 | }, |
|
1304 | 1307 | } |
1305 | 1308 | }, |
1306 | 1309 | "overrideDynamicGroups": { |
1307 | | - "target": "com.amazonaws.iot#OverrideDynamicGroups", |
| 1310 | + "target": "com.amazonaws.iot#NullableBoolean", |
1308 | 1311 | "traits": { |
1309 | 1312 | "smithy.api#documentation": "<p>Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups.</p>" |
1310 | 1313 | } |
|
7641 | 7644 | "hashAlgorithm": { |
7642 | 7645 | "target": "com.amazonaws.iot#HashAlgorithm", |
7643 | 7646 | "traits": { |
7644 | | - "smithy.api#documentation": "<p>The hash algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS uses <code>SHA256</code> or <code>SHA1</code>, so you can pass either of them based on which was used for generating the signature.</p>" |
| 7647 | + "smithy.api#documentation": "<p>The hash algorithm used to code sign the file.</p>" |
7645 | 7648 | } |
7646 | 7649 | }, |
7647 | 7650 | "signatureAlgorithm": { |
7648 | 7651 | "target": "com.amazonaws.iot#SignatureAlgorithm", |
7649 | 7652 | "traits": { |
7650 | | - "smithy.api#documentation": "<p>The signature algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS uses <code>ECDSA</code> or <code>RSA</code>, so you can pass either of them based on which was used for generating the signature.</p>" |
| 7653 | + "smithy.api#documentation": "<p>The signature algorithm used to code sign the file.</p>" |
7651 | 7654 | } |
7652 | 7655 | } |
7653 | 7656 | }, |
@@ -18759,6 +18762,125 @@ |
18759 | 18762 | } |
18760 | 18763 | } |
18761 | 18764 | }, |
| 18765 | + "com.amazonaws.iot#ListMetricValues": { |
| 18766 | + "type": "operation", |
| 18767 | + "input": { |
| 18768 | + "target": "com.amazonaws.iot#ListMetricValuesRequest" |
| 18769 | + }, |
| 18770 | + "output": { |
| 18771 | + "target": "com.amazonaws.iot#ListMetricValuesResponse" |
| 18772 | + }, |
| 18773 | + "errors": [ |
| 18774 | + { |
| 18775 | + "target": "com.amazonaws.iot#InternalFailureException" |
| 18776 | + }, |
| 18777 | + { |
| 18778 | + "target": "com.amazonaws.iot#InvalidRequestException" |
| 18779 | + }, |
| 18780 | + { |
| 18781 | + "target": "com.amazonaws.iot#ResourceNotFoundException" |
| 18782 | + }, |
| 18783 | + { |
| 18784 | + "target": "com.amazonaws.iot#ThrottlingException" |
| 18785 | + } |
| 18786 | + ], |
| 18787 | + "traits": { |
| 18788 | + "smithy.api#documentation": "<p>Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom metric) \n by the given thing during the specified time period.</p>", |
| 18789 | + "smithy.api#http": { |
| 18790 | + "method": "GET", |
| 18791 | + "uri": "/metric-values", |
| 18792 | + "code": 200 |
| 18793 | + }, |
| 18794 | + "smithy.api#paginated": { |
| 18795 | + "inputToken": "nextToken", |
| 18796 | + "outputToken": "nextToken", |
| 18797 | + "items": "metricDatumList", |
| 18798 | + "pageSize": "maxResults" |
| 18799 | + } |
| 18800 | + } |
| 18801 | + }, |
| 18802 | + "com.amazonaws.iot#ListMetricValuesRequest": { |
| 18803 | + "type": "structure", |
| 18804 | + "members": { |
| 18805 | + "thingName": { |
| 18806 | + "target": "com.amazonaws.iot#DeviceDefenderThingName", |
| 18807 | + "traits": { |
| 18808 | + "smithy.api#documentation": "<p>The name of the thing for which security profile metric values are returned.</p>", |
| 18809 | + "smithy.api#httpQuery": "thingName", |
| 18810 | + "smithy.api#required": {} |
| 18811 | + } |
| 18812 | + }, |
| 18813 | + "metricName": { |
| 18814 | + "target": "com.amazonaws.iot#BehaviorMetric", |
| 18815 | + "traits": { |
| 18816 | + "smithy.api#documentation": "<p>The name of the security profile metric for which values are returned.</p>", |
| 18817 | + "smithy.api#httpQuery": "metricName", |
| 18818 | + "smithy.api#required": {} |
| 18819 | + } |
| 18820 | + }, |
| 18821 | + "dimensionName": { |
| 18822 | + "target": "com.amazonaws.iot#DimensionName", |
| 18823 | + "traits": { |
| 18824 | + "smithy.api#documentation": "<p>The dimension name.</p>", |
| 18825 | + "smithy.api#httpQuery": "dimensionName" |
| 18826 | + } |
| 18827 | + }, |
| 18828 | + "dimensionValueOperator": { |
| 18829 | + "target": "com.amazonaws.iot#DimensionValueOperator", |
| 18830 | + "traits": { |
| 18831 | + "smithy.api#documentation": "<p>The dimension value operator.</p>", |
| 18832 | + "smithy.api#httpQuery": "dimensionValueOperator" |
| 18833 | + } |
| 18834 | + }, |
| 18835 | + "startTime": { |
| 18836 | + "target": "com.amazonaws.iot#Timestamp", |
| 18837 | + "traits": { |
| 18838 | + "smithy.api#documentation": "<p>The start of the time period for which metric values are returned.</p>", |
| 18839 | + "smithy.api#httpQuery": "startTime", |
| 18840 | + "smithy.api#required": {} |
| 18841 | + } |
| 18842 | + }, |
| 18843 | + "endTime": { |
| 18844 | + "target": "com.amazonaws.iot#Timestamp", |
| 18845 | + "traits": { |
| 18846 | + "smithy.api#documentation": "<p>The end of the time period for which metric values are returned.</p>", |
| 18847 | + "smithy.api#httpQuery": "endTime", |
| 18848 | + "smithy.api#required": {} |
| 18849 | + } |
| 18850 | + }, |
| 18851 | + "maxResults": { |
| 18852 | + "target": "com.amazonaws.iot#MaxResults", |
| 18853 | + "traits": { |
| 18854 | + "smithy.api#documentation": "<p>The maximum number of results to return at one time.</p>", |
| 18855 | + "smithy.api#httpQuery": "maxResults" |
| 18856 | + } |
| 18857 | + }, |
| 18858 | + "nextToken": { |
| 18859 | + "target": "com.amazonaws.iot#NextToken", |
| 18860 | + "traits": { |
| 18861 | + "smithy.api#documentation": "<p>The token for the next set of results.</p>", |
| 18862 | + "smithy.api#httpQuery": "nextToken" |
| 18863 | + } |
| 18864 | + } |
| 18865 | + } |
| 18866 | + }, |
| 18867 | + "com.amazonaws.iot#ListMetricValuesResponse": { |
| 18868 | + "type": "structure", |
| 18869 | + "members": { |
| 18870 | + "metricDatumList": { |
| 18871 | + "target": "com.amazonaws.iot#MetricDatumList", |
| 18872 | + "traits": { |
| 18873 | + "smithy.api#documentation": "<p>The data the thing reports for the metric during the specified time period.</p>" |
| 18874 | + } |
| 18875 | + }, |
| 18876 | + "nextToken": { |
| 18877 | + "target": "com.amazonaws.iot#NextToken", |
| 18878 | + "traits": { |
| 18879 | + "smithy.api#documentation": "<p>A token that can be used to retrieve the next set of results, or <code>null</code> \n if there are no additional results.</p>" |
| 18880 | + } |
| 18881 | + } |
| 18882 | + } |
| 18883 | + }, |
18762 | 18884 | "com.amazonaws.iot#ListMitigationActions": { |
18763 | 18885 | "type": "operation", |
18764 | 18886 | "input": { |
|
21758 | 21880 | } |
21759 | 21881 | } |
21760 | 21882 | }, |
| 21883 | + "com.amazonaws.iot#MetricDatum": { |
| 21884 | + "type": "structure", |
| 21885 | + "members": { |
| 21886 | + "timestamp": { |
| 21887 | + "target": "com.amazonaws.iot#Timestamp", |
| 21888 | + "traits": { |
| 21889 | + "smithy.api#documentation": "<p>The time the metric value was reported.</p>" |
| 21890 | + } |
| 21891 | + }, |
| 21892 | + "value": { |
| 21893 | + "target": "com.amazonaws.iot#MetricValue", |
| 21894 | + "traits": { |
| 21895 | + "smithy.api#documentation": "<p>The value reported for the metric.</p>" |
| 21896 | + } |
| 21897 | + } |
| 21898 | + }, |
| 21899 | + "traits": { |
| 21900 | + "smithy.api#documentation": "<p>A metric.</p>" |
| 21901 | + } |
| 21902 | + }, |
| 21903 | + "com.amazonaws.iot#MetricDatumList": { |
| 21904 | + "type": "list", |
| 21905 | + "member": { |
| 21906 | + "target": "com.amazonaws.iot#MetricDatum" |
| 21907 | + } |
| 21908 | + }, |
21761 | 21909 | "com.amazonaws.iot#MetricDimension": { |
21762 | 21910 | "type": "structure", |
21763 | 21911 | "members": { |
|
30289 | 30437 | "min": 0, |
30290 | 30438 | "max": 1000 |
30291 | 30439 | }, |
30292 | | - "smithy.api#pattern": "^[\\p{Graph}\\x20]*$" |
| 30440 | + "smithy.api#pattern": "^[^\\p{Cntrl}]*$" |
30293 | 30441 | } |
30294 | 30442 | }, |
30295 | 30443 | "com.amazonaws.iot#Version": { |
|
0 commit comments