@aws-sdk/client-iot 3.58.0 → 3.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.60.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.59.0...v3.60.0) (2022-03-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-iot
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-iot
|
|
@@ -3165,24 +3165,24 @@ export declare enum CustomMetricType {
|
|
|
3165
3165
|
}
|
|
3166
3166
|
export interface CreateCustomMetricRequest {
|
|
3167
3167
|
/**
|
|
3168
|
-
* <p> The name of the custom metric. This will be used in the metric report submitted from the
|
|
3169
|
-
*
|
|
3170
|
-
*
|
|
3168
|
+
* <p> The name of the custom metric. This will be used in the metric report submitted from the
|
|
3169
|
+
* device/thing. The name can't begin with <code>aws:</code>. You can't change the name after you
|
|
3170
|
+
* define it.</p>
|
|
3171
3171
|
*/
|
|
3172
3172
|
metricName: string | undefined;
|
|
3173
3173
|
/**
|
|
3174
|
-
* <p>
|
|
3175
|
-
*
|
|
3176
|
-
*
|
|
3177
|
-
* it
|
|
3178
|
-
* doesn't have to be unique. Don't use this name as the metric identifier in
|
|
3179
|
-
* the device metric report. Can be updated once defined.</p>
|
|
3174
|
+
* <p> The friendly name in the console for the custom metric. This name doesn't have to be
|
|
3175
|
+
* unique. Don't use this name as the metric identifier in the device metric report. You can
|
|
3176
|
+
* update the friendly name after you define it.</p>
|
|
3180
3177
|
*/
|
|
3181
3178
|
displayName?: string;
|
|
3182
3179
|
/**
|
|
3183
|
-
* <p>
|
|
3184
|
-
*
|
|
3185
|
-
*
|
|
3180
|
+
* <p> The type of the custom metric. </p>
|
|
3181
|
+
* <important>
|
|
3182
|
+
* <p>The type <code>number</code> only takes a single metric value as an input, but when you
|
|
3183
|
+
* submit the metrics value in the DeviceMetrics report, you must pass it as an array with a
|
|
3184
|
+
* single value.</p>
|
|
3185
|
+
* </important>
|
|
3186
3186
|
*/
|
|
3187
3187
|
metricType: CustomMetricType | string | undefined;
|
|
3188
3188
|
/**
|
|
@@ -3214,8 +3214,8 @@ export interface CreateCustomMetricResponse {
|
|
|
3214
3214
|
*/
|
|
3215
3215
|
metricName?: string;
|
|
3216
3216
|
/**
|
|
3217
|
-
* <p>
|
|
3218
|
-
*
|
|
3217
|
+
* <p> The Amazon Resource Number (ARN) of the custom metric. For example,
|
|
3218
|
+
* <code>arn:<i>aws-partition</i>:iot:<i>region</i>:<i>accountId</i>:custommetric/<i>metricName</i>
|
|
3219
3219
|
* </code>
|
|
3220
3220
|
* </p>
|
|
3221
3221
|
*/
|
|
@@ -4375,11 +4375,11 @@ export interface CustomCodeSigning {
|
|
|
4375
4375
|
*/
|
|
4376
4376
|
certificateChain?: CodeSigningCertificateChain;
|
|
4377
4377
|
/**
|
|
4378
|
-
* <p>The hash algorithm used to code sign the file.</p>
|
|
4378
|
+
* <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>
|
|
4379
4379
|
*/
|
|
4380
4380
|
hashAlgorithm?: string;
|
|
4381
4381
|
/**
|
|
4382
|
-
* <p>The signature algorithm used to code sign the file.</p>
|
|
4382
|
+
* <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>
|
|
4383
4383
|
*/
|
|
4384
4384
|
signatureAlgorithm?: string;
|
|
4385
4385
|
}
|
|
@@ -5014,6 +5014,8 @@ export interface CreateRoleAliasRequest {
|
|
|
5014
5014
|
roleArn: string | undefined;
|
|
5015
5015
|
/**
|
|
5016
5016
|
* <p>How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.</p>
|
|
5017
|
+
* <p>This value must be less than or equal to the maximum session duration of the IAM role
|
|
5018
|
+
* that the role alias references.</p>
|
|
5017
5019
|
*/
|
|
5018
5020
|
credentialDurationSeconds?: number;
|
|
5019
5021
|
/**
|
|
@@ -906,9 +906,10 @@ export interface DescribeCustomMetricResponse {
|
|
|
906
906
|
*/
|
|
907
907
|
metricArn?: string;
|
|
908
908
|
/**
|
|
909
|
-
* <p>
|
|
910
|
-
*
|
|
911
|
-
*
|
|
909
|
+
* <p> The type of the custom metric. </p>
|
|
910
|
+
* <important>
|
|
911
|
+
* <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>
|
|
912
|
+
* </important>
|
|
912
913
|
*/
|
|
913
914
|
metricType?: CustomMetricType | string;
|
|
914
915
|
/**
|
|
@@ -803,6 +803,8 @@ export interface RegisterCACertificateRequest {
|
|
|
803
803
|
verificationCertificate: string | undefined;
|
|
804
804
|
/**
|
|
805
805
|
* <p>A boolean value that specifies if the CA certificate is set to active.</p>
|
|
806
|
+
* <p>Valid values: <code>ACTIVE | INACTIVE</code>
|
|
807
|
+
* </p>
|
|
806
808
|
*/
|
|
807
809
|
setAsActive?: boolean;
|
|
808
810
|
/**
|
|
@@ -891,10 +893,13 @@ export interface RegisterCertificateRequest {
|
|
|
891
893
|
* @deprecated
|
|
892
894
|
*
|
|
893
895
|
* <p>A boolean value that specifies if the certificate is set to active.</p>
|
|
896
|
+
* <p>Valid values: <code>ACTIVE | INACTIVE</code>
|
|
897
|
+
* </p>
|
|
894
898
|
*/
|
|
895
899
|
setAsActive?: boolean;
|
|
896
900
|
/**
|
|
897
|
-
* <p>The status of the register certificate request
|
|
901
|
+
* <p>The status of the register certificate request. Valid values that you can use include
|
|
902
|
+
* <code>ACTIVE</code>, <code>INACTIVE</code>, and <code>REVOKED</code>.</p>
|
|
898
903
|
*/
|
|
899
904
|
status?: CertificateStatus | string;
|
|
900
905
|
}
|
|
@@ -2142,9 +2147,10 @@ export interface UpdateCustomMetricResponse {
|
|
|
2142
2147
|
*/
|
|
2143
2148
|
metricArn?: string;
|
|
2144
2149
|
/**
|
|
2145
|
-
* <p>
|
|
2146
|
-
*
|
|
2147
|
-
*
|
|
2150
|
+
* <p> The type of the custom metric. </p>
|
|
2151
|
+
* <important>
|
|
2152
|
+
* <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>
|
|
2153
|
+
* </important>
|
|
2148
2154
|
*/
|
|
2149
2155
|
metricType?: CustomMetricType | string;
|
|
2150
2156
|
/**
|
|
@@ -2552,6 +2558,8 @@ export interface UpdateRoleAliasRequest {
|
|
|
2552
2558
|
roleArn?: string;
|
|
2553
2559
|
/**
|
|
2554
2560
|
* <p>The number of seconds the credential will be valid.</p>
|
|
2561
|
+
* <p>This value must be less than or equal to the maximum session duration of the IAM role
|
|
2562
|
+
* that the role alias references.</p>
|
|
2555
2563
|
*/
|
|
2556
2564
|
credentialDurationSeconds?: number;
|
|
2557
2565
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.60.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|