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
feat(client-iot): Job scheduling enables the scheduled rollout of a Job with start and end times and a customizable end behavior when end time is reached. This is available for continuous and snapshot jobs. Added support for MQTT5 properties to AWS IoT TopicRule Republish Action.
Copy file name to clipboardExpand all lines: clients/client-iot/src/IoT.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1405,8 +1405,7 @@ export class IoT extends IoTClient {
1405
1405
1406
1406
/**
1407
1407
* <p>Attaches the specified principal to the specified thing. A principal can be X.509
1408
-
* certificates, IAM users, groups, and roles, Amazon Cognito identities or federated
1409
-
* identities.</p>
1408
+
* certificates, Amazon Cognito identities or federated identities.</p>
1410
1409
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">AttachThingPrincipal</a> action.</p>
* <p>Attaches the specified principal to the specified thing. A principal can be X.509
33
-
* certificates, IAM users, groups, and roles, Amazon Cognito identities or federated
34
-
* identities.</p>
33
+
* certificates, Amazon Cognito identities or federated identities.</p>
35
34
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">AttachThingPrincipal</a> action.</p>
36
35
* @example
37
36
* Use a bare-bones client and the command you need to make an API call.
* <p>A key-value pair that you define in the header. Both the key and the value are either
943
+
* literal strings or valid <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-substitution-templates.html">substitution
944
+
* templates</a>.</p>
945
+
*/
946
+
exportinterfaceUserProperty{
947
+
/**
948
+
* <p>A key to be specified in <code>UserProperty</code>.</p>
949
+
*/
950
+
key: string|undefined;
951
+
952
+
/**
953
+
* <p>A value to be specified in <code>UserProperty</code>.</p>
954
+
*/
955
+
value: string|undefined;
956
+
}
957
+
958
+
/**
959
+
* <p>Specifies MQTT Version 5.0 headers information. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html"> MQTT</a> from
960
+
* Amazon Web Services IoT Core Developer Guide.</p>
961
+
*/
962
+
exportinterfaceMqttHeaders{
963
+
/**
964
+
* <p>An <code>Enum</code> string value that indicates whether the payload is formatted as
965
+
* UTF-8.</p>
966
+
* <p>Valid values are <code>UNSPECIFIED_BYTES</code> and <code>UTF8_DATA</code>.</p>
967
+
* <p>For more information, see <a href="https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901111">
968
+
* Payload Format Indicator</a> from the MQTT Version 5.0 specification.</p>
* <p>A user-defined integer value that will persist a message at the message broker for a
1011
+
* specified amount of time to ensure that the message will expire if it's no longer relevant to
1012
+
* the subscriber. The value of <code>messageExpiry</code> represents the number of seconds
1013
+
* before it expires. For more information about the limits of <code>messageExpiry</code>, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html">Amazon Web Services IoT Core message broker and protocol
1014
+
* limits and quotas </a> from the Amazon Web Services Reference Guide.</p>
* <p>Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group. Additionally, you can specify the end behavior for each job execution when it reaches the scheduled end time.</p>
3731
+
*/
3732
+
exportinterfaceSchedulingConfig{
3733
+
/**
3734
+
* <p>The time a job will begin rollout of the job document to all devices in the target
3735
+
* group for a job. The <code>startTime</code> can be scheduled up to a year in advance and
3736
+
* must be scheduled a minimum of thirty minutes from the current time.</p>
3737
+
*/
3738
+
startTime?: string;
3739
+
3740
+
/**
3741
+
* <p>The time a job will stop rollout of the job document to all devices in the target
3742
+
* group for a job. The <code>endTime</code> must take place no later than two years from
3743
+
* the current time and be scheduled a minimum of thirty minutes from the current time. The
3744
+
* minimum duration between <code>startTime</code> and <code>endTime</code> is thirty
3745
+
* minutes. The maximum duration between <code>startTime</code> and <code>endTime</code> is
3746
+
* two years. </p>
3747
+
*/
3748
+
endTime?: string;
3749
+
3750
+
/**
3751
+
* <p>Specifies the end behavior for all job executions after a job reaches the selected
3752
+
* <code>endTime</code>. If <code>endTime</code> is not selected when creating the job,
3753
+
* then <code>endBehavior</code> does not apply.</p>
0 commit comments