Skip to content

Commit bb70247

Browse files
author
awstools
committed
docs(client-iot): Doc only update for IoT that fixes customer-reported issues.
1 parent 7dbbfd5 commit bb70247

File tree

4 files changed

+30611
-30600
lines changed

4 files changed

+30611
-30600
lines changed

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

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3981,26 +3981,26 @@ export enum CustomMetricType {
39813981

39823982
export interface CreateCustomMetricRequest {
39833983
/**
3984-
* <p> The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with <code>aws:</code>.
3985-
* Cannot be updated
3986-
* once defined.</p>
3984+
* <p> The name of the custom metric. This will be used in the metric report submitted from the
3985+
* device/thing. The name can't begin with <code>aws:</code>. You can't change the name after you
3986+
* define it.</p>
39873987
*/
39883988
metricName: string | undefined;
39893989

39903990
/**
3991-
* <p>
3992-
* Field
3993-
* represents a friendly name in the console for the custom metric;
3994-
* it
3995-
* doesn't have to be unique. Don't use this name as the metric identifier in
3996-
* the device metric report. Can be updated once defined.</p>
3991+
* <p> The friendly name in the console for the custom metric. This name doesn't have to be
3992+
* unique. Don't use this name as the metric identifier in the device metric report. You can
3993+
* update the friendly name after you define it.</p>
39973994
*/
39983995
displayName?: string;
39993996

40003997
/**
4001-
* <p>
4002-
* The type of the custom metric. Types include <code>string-list</code>, <code>ip-address-list</code>, <code>number-list</code>, and <code>number</code>.
4003-
* </p>
3998+
* <p> The type of the custom metric. </p>
3999+
* <important>
4000+
* <p>The type <code>number</code> only takes a single metric value as an input, but when you
4001+
* submit the metrics value in the DeviceMetrics report, you must pass it as an array with a
4002+
* single value.</p>
4003+
* </important>
40044004
*/
40054005
metricType: CustomMetricType | string | undefined;
40064006

@@ -4039,8 +4039,8 @@ export interface CreateCustomMetricResponse {
40394039
metricName?: string;
40404040

40414041
/**
4042-
* <p>
4043-
* The Amazon Resource Number (ARN) of the custom metric, e.g. <code>arn:<i>aws-partition</i>:iot:<i>region</i>:<i>accountId</i>:custommetric/<i>metricName</i>
4042+
* <p> The Amazon Resource Number (ARN) of the custom metric. For example,
4043+
* <code>arn:<i>aws-partition</i>:iot:<i>region</i>:<i>accountId</i>:custommetric/<i>metricName</i>
40444044
* </code>
40454045
* </p>
40464046
*/
@@ -5505,12 +5505,12 @@ export interface CustomCodeSigning {
55055505
certificateChain?: CodeSigningCertificateChain;
55065506

55075507
/**
5508-
* <p>The hash algorithm used to code sign the file.</p>
5508+
* <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>
55095509
*/
55105510
hashAlgorithm?: string;
55115511

55125512
/**
5513-
* <p>The signature algorithm used to code sign the file.</p>
5513+
* <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>
55145514
*/
55155515
signatureAlgorithm?: string;
55165516
}
@@ -6313,6 +6313,8 @@ export interface CreateRoleAliasRequest {
63136313

63146314
/**
63156315
* <p>How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.</p>
6316+
* <p>This value must be less than or equal to the maximum session duration of the IAM role
6317+
* that the role alias references.</p>
63166318
*/
63176319
credentialDurationSeconds?: number;
63186320

clients/client-iot/src/models/models_1.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,9 +1198,10 @@ export interface DescribeCustomMetricResponse {
11981198
metricArn?: string;
11991199

12001200
/**
1201-
* <p>
1202-
* The type of the custom metric. Types include <code>string-list</code>, <code>ip-address-list</code>, <code>number-list</code>, and <code>number</code>.
1203-
* </p>
1201+
* <p> The type of the custom metric. </p>
1202+
* <important>
1203+
* <p>The type <code>number</code> only takes a single metric value as an input, but while submitting the metrics value in the DeviceMetrics report, it must be passed as an array with a single value.</p>
1204+
* </important>
12041205
*/
12051206
metricType?: CustomMetricType | string;
12061207

clients/client-iot/src/models/models_2.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,6 +1058,8 @@ export interface RegisterCACertificateRequest {
10581058

10591059
/**
10601060
* <p>A boolean value that specifies if the CA certificate is set to active.</p>
1061+
* <p>Valid values: <code>ACTIVE | INACTIVE</code>
1062+
* </p>
10611063
*/
10621064
setAsActive?: boolean;
10631065

@@ -1176,11 +1178,14 @@ export interface RegisterCertificateRequest {
11761178
* @deprecated
11771179
*
11781180
* <p>A boolean value that specifies if the certificate is set to active.</p>
1181+
* <p>Valid values: <code>ACTIVE | INACTIVE</code>
1182+
* </p>
11791183
*/
11801184
setAsActive?: boolean;
11811185

11821186
/**
1183-
* <p>The status of the register certificate request.</p>
1187+
* <p>The status of the register certificate request. Valid values that you can use include
1188+
* <code>ACTIVE</code>, <code>INACTIVE</code>, and <code>REVOKED</code>.</p>
11841189
*/
11851190
status?: CertificateStatus | string;
11861191
}
@@ -2760,9 +2765,10 @@ export interface UpdateCustomMetricResponse {
27602765
metricArn?: string;
27612766

27622767
/**
2763-
* <p>
2764-
* The type of the custom metric. Types include <code>string-list</code>, <code>ip-address-list</code>, <code>number-list</code>, and <code>number</code>.
2765-
* </p>
2768+
* <p> The type of the custom metric. </p>
2769+
* <important>
2770+
* <p>The type <code>number</code> only takes a single metric value as an input, but while submitting the metrics value in the DeviceMetrics report, it must be passed as an array with a single value.</p>
2771+
* </important>
27662772
*/
27672773
metricType?: CustomMetricType | string;
27682774

@@ -3279,6 +3285,8 @@ export interface UpdateRoleAliasRequest {
32793285

32803286
/**
32813287
* <p>The number of seconds the credential will be valid.</p>
3288+
* <p>This value must be less than or equal to the maximum session duration of the IAM role
3289+
* that the role alias references.</p>
32823290
*/
32833291
credentialDurationSeconds?: number;
32843292
}

0 commit comments

Comments
 (0)