@aws-sdk/client-iot 3.87.0 → 3.94.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,30 @@
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.94.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.93.0...v3.94.0) (2022-05-18)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-iot
9
+
10
+
11
+
12
+
13
+
14
+ # [3.92.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.91.0...v3.92.0) (2022-05-16)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-iot
17
+
18
+
19
+
20
+
21
+
22
+ # [3.90.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.89.0...v3.90.0) (2022-05-12)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-iot
25
+
26
+
27
+
28
+
29
+
6
30
  # [3.87.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.86.0...v3.87.0) (2022-05-09)
7
31
 
8
32
  **Note:** Version bump only for package @aws-sdk/client-iot
@@ -3770,6 +3770,11 @@ export interface CreateJobRequest {
3770
3770
  * specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing
3771
3771
  * when a change is detected in a target. For example, a job will run on a thing when the thing is added to a
3772
3772
  * target group, even after the job was completed by all things originally in the group.</p>
3773
+ * <note>
3774
+ * <p>We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets.
3775
+ * By using continuous jobs, devices that join the group receive the job execution even after the job has
3776
+ * been created.</p>
3777
+ * </note>
3773
3778
  */
3774
3779
  targetSelection?: TargetSelection | string;
3775
3780
  /**
@@ -3812,7 +3817,13 @@ export interface CreateJobRequest {
3812
3817
  */
3813
3818
  jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
3814
3819
  /**
3815
- * <p>Parameters of a managed template that you can specify to create the job document.</p>
3820
+ * <p>Parameters of an Amazon Web Services managed template that you can specify to create the job document.</p>
3821
+ * <note>
3822
+ * <p>
3823
+ * <code>documentParameters</code> can only be used when creating jobs from Amazon Web Services
3824
+ * managed templates. This parameter can't be used with custom job templates or to
3825
+ * create jobs from them.</p>
3826
+ * </note>
3816
3827
  */
3817
3828
  documentParameters?: {
3818
3829
  [key: string]: string;
@@ -4375,11 +4386,11 @@ export interface CustomCodeSigning {
4375
4386
  */
4376
4387
  certificateChain?: CodeSigningCertificateChain;
4377
4388
  /**
4378
- * <p>The hash algorithm used to code sign the file.</p>
4389
+ * <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
4390
  */
4380
4391
  hashAlgorithm?: string;
4381
4392
  /**
4382
- * <p>The signature algorithm used to code sign the file.</p>
4393
+ * <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
4394
  */
4384
4395
  signatureAlgorithm?: string;
4385
4396
  }
@@ -1622,6 +1622,11 @@ export interface Job {
1622
1622
  * when a change is detected in a target. For example, a job will run on a device when the thing representing
1623
1623
  * the device is added to a target group, even after the job was completed by all things originally in the
1624
1624
  * group. </p>
1625
+ * <note>
1626
+ * <p>We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets.
1627
+ * By using continuous jobs, devices that join the group receive the job execution even after the job has
1628
+ * been created.</p>
1629
+ * </note>
1625
1630
  */
1626
1631
  targetSelection?: TargetSelection | string;
1627
1632
  /**
@@ -1709,6 +1714,12 @@ export interface Job {
1709
1714
  * <p>A key-value map that pairs the patterns that need to be replaced in a managed
1710
1715
  * template job document schema. You can use the description of each key as a guidance
1711
1716
  * to specify the inputs during runtime when creating a job.</p>
1717
+ * <note>
1718
+ * <p>
1719
+ * <code>documentParameters</code> can only be used when creating jobs from Amazon Web Services
1720
+ * managed templates. This parameter can't be used with custom job templates or to
1721
+ * create jobs from them.</p>
1722
+ * </note>
1712
1723
  */
1713
1724
  documentParameters?: {
1714
1725
  [key: string]: string;
@@ -1949,6 +1960,12 @@ export declare namespace DescribeManagedJobTemplateRequest {
1949
1960
  * <p>A map of key-value pairs containing the patterns that need to be replaced in a managed
1950
1961
  * template job document schema. You can use the description of each key as a guidance to specify
1951
1962
  * the inputs during runtime when creating a job.</p>
1963
+ * <note>
1964
+ * <p>
1965
+ * <code>documentParameters</code> can only be used when creating jobs from Amazon Web Services
1966
+ * managed templates. This parameter can't be used with custom job templates or to
1967
+ * create jobs from them.</p>
1968
+ * </note>
1952
1969
  */
1953
1970
  export interface DocumentParameter {
1954
1971
  /**
@@ -2007,6 +2024,12 @@ export interface DescribeManagedJobTemplateResponse {
2007
2024
  /**
2008
2025
  * <p>A map of key-value pairs that you can use as guidance to specify the inputs for creating
2009
2026
  * a job from a managed template.</p>
2027
+ * <note>
2028
+ * <p>
2029
+ * <code>documentParameters</code> can only be used when creating jobs from Amazon Web Services
2030
+ * managed templates. This parameter can't be used with custom job templates or to
2031
+ * create jobs from them.</p>
2032
+ * </note>
2010
2033
  */
2011
2034
  documentParameters?: DocumentParameter[];
2012
2035
  /**
@@ -5235,6 +5258,11 @@ export interface ListJobsRequest {
5235
5258
  * specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing
5236
5259
  * when a change is detected in a target. For example, a job will run on a thing when the thing is added to a
5237
5260
  * target group, even after the job was completed by all things originally in the group. </p>
5261
+ * <note>
5262
+ * <p>We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets.
5263
+ * By using continuous jobs, devices that join the group receive the job execution even after the job has
5264
+ * been created.</p>
5265
+ * </note>
5238
5266
  */
5239
5267
  targetSelection?: TargetSelection | string;
5240
5268
  /**
@@ -5293,6 +5321,11 @@ export interface JobSummary {
5293
5321
  * specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing
5294
5322
  * when a change is detected in a target. For example, a job will run on a thing when the thing is added to a
5295
5323
  * target group, even after the job was completed by all things originally in the group.</p>
5324
+ * <note>
5325
+ * <p>We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets.
5326
+ * By using continuous jobs, devices that join the group receive the job execution even after the job has
5327
+ * been created.</p>
5328
+ * </note>
5296
5329
  */
5297
5330
  targetSelection?: TargetSelection | string;
5298
5331
  /**
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.87.0",
4
+ "version": "3.94.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.87.0",
21
+ "@aws-sdk/client-sts": "3.94.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.87.0",
23
+ "@aws-sdk/credential-provider-node": "3.94.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
@@ -33,7 +33,7 @@
33
33
  "@aws-sdk/middleware-stack": "3.78.0",
34
34
  "@aws-sdk/middleware-user-agent": "3.78.0",
35
35
  "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.82.0",
36
+ "@aws-sdk/node-http-handler": "3.94.0",
37
37
  "@aws-sdk/protocol-http": "3.78.0",
38
38
  "@aws-sdk/smithy-client": "3.85.0",
39
39
  "@aws-sdk/types": "3.78.0",