@aws-sdk/client-iot 3.259.0 → 3.262.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/IoT.d.ts +88 -94
- package/dist-types/IoTClient.d.ts +5 -5
- package/dist-types/commands/AddThingToBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/AddThingToThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTargetsWithJobCommand.d.ts +5 -5
- package/dist-types/commands/AttachThingPrincipalCommand.d.ts +1 -1
- package/dist-types/commands/CancelJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +0 -3
- package/dist-types/commands/CreateDynamicThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateOTAUpdateCommand.d.ts +1 -1
- package/dist-types/commands/CreateStreamCommand.d.ts +1 -1
- package/dist-types/commands/CreateThingCommand.d.ts +4 -4
- package/dist-types/commands/CreateThingGroupCommand.d.ts +4 -4
- package/dist-types/commands/CreateThingTypeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDynamicThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOTAUpdateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStreamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteThingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteThingTypeCommand.d.ts +1 -1
- package/dist-types/commands/DeprecateThingTypeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStreamCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingRegistrationTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingTypeCommand.d.ts +1 -1
- package/dist-types/commands/DetachThingPrincipalCommand.d.ts +4 -4
- package/dist-types/commands/GetJobDocumentCommand.d.ts +1 -1
- package/dist-types/commands/GetOTAUpdateCommand.d.ts +1 -1
- package/dist-types/commands/ListBillingGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListJobExecutionsForJobCommand.d.ts +1 -1
- package/dist-types/commands/ListJobExecutionsForThingCommand.d.ts +1 -1
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListOTAUpdatesCommand.d.ts +1 -1
- package/dist-types/commands/ListPrincipalThingsCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListThingGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingGroupsForThingCommand.d.ts +1 -1
- package/dist-types/commands/ListThingPrincipalsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListThingTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListThingsCommand.d.ts +4 -5
- package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +2 -2
- package/dist-types/commands/RemoveThingFromThingGroupCommand.d.ts +2 -2
- package/dist-types/commands/StartThingRegistrationTaskCommand.d.ts +1 -1
- package/dist-types/commands/StopThingRegistrationTaskCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TransferCertificateCommand.d.ts +0 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCertificateCommand.d.ts +0 -1
- package/dist-types/commands/UpdateDynamicThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEventConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStreamCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThingGroupsForThingCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +51 -46
- package/dist-types/models/models_1.d.ts +27 -27
- package/dist-types/models/models_2.d.ts +18 -18
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://iot-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://iot.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://iot.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -17964,6 +17964,7 @@ const serializeAws_restJson1CloudwatchAlarmAction = (input, context) => {
|
|
|
17964
17964
|
};
|
|
17965
17965
|
const serializeAws_restJson1CloudwatchLogsAction = (input, context) => {
|
|
17966
17966
|
return {
|
|
17967
|
+
...(input.batchMode != null && { batchMode: input.batchMode }),
|
|
17967
17968
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
17968
17969
|
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
17969
17970
|
};
|
|
@@ -19697,6 +19698,7 @@ const deserializeAws_restJson1CloudwatchAlarmAction = (output, context) => {
|
|
|
19697
19698
|
};
|
|
19698
19699
|
const deserializeAws_restJson1CloudwatchLogsAction = (output, context) => {
|
|
19699
19700
|
return {
|
|
19701
|
+
batchMode: (0, smithy_client_1.expectBoolean)(output.batchMode),
|
|
19700
19702
|
logGroupName: (0, smithy_client_1.expectString)(output.logGroupName),
|
|
19701
19703
|
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
19702
19704
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://iot-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://iot.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://iot.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -17476,6 +17476,7 @@ const serializeAws_restJson1CloudwatchAlarmAction = (input, context) => {
|
|
|
17476
17476
|
};
|
|
17477
17477
|
const serializeAws_restJson1CloudwatchLogsAction = (input, context) => {
|
|
17478
17478
|
return {
|
|
17479
|
+
...(input.batchMode != null && { batchMode: input.batchMode }),
|
|
17479
17480
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
17480
17481
|
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
17481
17482
|
};
|
|
@@ -19209,6 +19210,7 @@ const deserializeAws_restJson1CloudwatchAlarmAction = (output, context) => {
|
|
|
19209
19210
|
};
|
|
19210
19211
|
const deserializeAws_restJson1CloudwatchLogsAction = (output, context) => {
|
|
19211
19212
|
return {
|
|
19213
|
+
batchMode: __expectBoolean(output.batchMode),
|
|
19212
19214
|
logGroupName: __expectString(output.logGroupName),
|
|
19213
19215
|
roleArn: __expectString(output.roleArn),
|
|
19214
19216
|
};
|