@aws-sdk/client-iot-events-data 3.408.0 → 3.410.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://data.iotevents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ endpoint: { url: "https://data.iotevents-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://data.iotevents.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://data.iotevents.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://data.iotevents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://data.iotevents-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://data.iotevents.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://data.iotevents.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,16 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
+ const protocol_http_1 = require("@smithy/protocol-http");
4
5
  const smithy_client_1 = require("@smithy/smithy-client");
5
6
  const asPartial = (t) => t;
6
7
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
8
  const extensionConfiguration = {
8
9
  ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
10
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
9
11
  };
10
12
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
13
  return {
12
14
  ...runtimeConfig,
13
15
  ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
16
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
14
17
  };
15
18
  };
16
19
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://data.iotevents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ endpoint: { url: "https://data.iotevents-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://data.iotevents.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://data.iotevents.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://data.iotevents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://data.iotevents-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://data.iotevents.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://data.iotevents.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -1,12 +1,15 @@
1
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
1
2
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
3
  const asPartial = (t) => t;
3
4
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4
5
  const extensionConfiguration = {
5
6
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
+ ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
6
8
  };
7
9
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
10
  return {
9
11
  ...runtimeConfig,
10
12
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
+ ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
11
14
  };
12
15
  };
@@ -47,7 +47,7 @@ export interface BatchAcknowledgeAlarmCommandOutput extends BatchAcknowledgeAlar
47
47
  * // errorEntries: [ // BatchAlarmActionErrorEntries
48
48
  * // { // BatchAlarmActionErrorEntry
49
49
  * // requestId: "STRING_VALUE",
50
- * // errorCode: "STRING_VALUE",
50
+ * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException",
51
51
  * // errorMessage: "STRING_VALUE",
52
52
  * // },
53
53
  * // ],
@@ -45,7 +45,7 @@ export interface BatchDeleteDetectorCommandOutput extends BatchDeleteDetectorRes
45
45
  * // batchDeleteDetectorErrorEntries: [ // BatchDeleteDetectorErrorEntries
46
46
  * // { // BatchDeleteDetectorErrorEntry
47
47
  * // messageId: "STRING_VALUE",
48
- * // errorCode: "STRING_VALUE",
48
+ * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException",
49
49
  * // errorMessage: "STRING_VALUE",
50
50
  * // },
51
51
  * // ],
@@ -47,7 +47,7 @@ export interface BatchDisableAlarmCommandOutput extends BatchDisableAlarmRespons
47
47
  * // errorEntries: [ // BatchAlarmActionErrorEntries
48
48
  * // { // BatchAlarmActionErrorEntry
49
49
  * // requestId: "STRING_VALUE",
50
- * // errorCode: "STRING_VALUE",
50
+ * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException",
51
51
  * // errorMessage: "STRING_VALUE",
52
52
  * // },
53
53
  * // ],
@@ -47,7 +47,7 @@ export interface BatchEnableAlarmCommandOutput extends BatchEnableAlarmResponse,
47
47
  * // errorEntries: [ // BatchAlarmActionErrorEntries
48
48
  * // { // BatchAlarmActionErrorEntry
49
49
  * // requestId: "STRING_VALUE",
50
- * // errorCode: "STRING_VALUE",
50
+ * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException",
51
51
  * // errorMessage: "STRING_VALUE",
52
52
  * // },
53
53
  * // ],
@@ -52,7 +52,7 @@ export interface BatchPutMessageCommandOutput extends BatchPutMessageResponse, _
52
52
  * // BatchPutMessageErrorEntries: [ // BatchPutMessageErrorEntries
53
53
  * // { // BatchPutMessageErrorEntry
54
54
  * // messageId: "STRING_VALUE",
55
- * // errorCode: "STRING_VALUE",
55
+ * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException",
56
56
  * // errorMessage: "STRING_VALUE",
57
57
  * // },
58
58
  * // ],
@@ -47,7 +47,7 @@ export interface BatchResetAlarmCommandOutput extends BatchResetAlarmResponse, _
47
47
  * // errorEntries: [ // BatchAlarmActionErrorEntries
48
48
  * // { // BatchAlarmActionErrorEntry
49
49
  * // requestId: "STRING_VALUE",
50
- * // errorCode: "STRING_VALUE",
50
+ * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException",
51
51
  * // errorMessage: "STRING_VALUE",
52
52
  * // },
53
53
  * // ],
@@ -48,7 +48,7 @@ export interface BatchSnoozeAlarmCommandOutput extends BatchSnoozeAlarmResponse,
48
48
  * // errorEntries: [ // BatchAlarmActionErrorEntries
49
49
  * // { // BatchAlarmActionErrorEntry
50
50
  * // requestId: "STRING_VALUE",
51
- * // errorCode: "STRING_VALUE",
51
+ * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException",
52
52
  * // errorMessage: "STRING_VALUE",
53
53
  * // },
54
54
  * // ],
@@ -61,7 +61,7 @@ export interface BatchUpdateDetectorCommandOutput extends BatchUpdateDetectorRes
61
61
  * // batchUpdateDetectorErrorEntries: [ // BatchUpdateDetectorErrorEntries
62
62
  * // { // BatchUpdateDetectorErrorEntry
63
63
  * // messageId: "STRING_VALUE",
64
- * // errorCode: "STRING_VALUE",
64
+ * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException",
65
65
  * // errorMessage: "STRING_VALUE",
66
66
  * // },
67
67
  * // ],
@@ -42,16 +42,16 @@ export interface DescribeAlarmCommandOutput extends DescribeAlarmResponse, __Met
42
42
  * // alarmModelVersion: "STRING_VALUE",
43
43
  * // keyValue: "STRING_VALUE",
44
44
  * // alarmState: { // AlarmState
45
- * // stateName: "STRING_VALUE",
45
+ * // stateName: "DISABLED" || "NORMAL" || "ACTIVE" || "ACKNOWLEDGED" || "SNOOZE_DISABLED" || "LATCHED",
46
46
  * // ruleEvaluation: { // RuleEvaluation
47
47
  * // simpleRuleEvaluation: { // SimpleRuleEvaluation
48
48
  * // inputPropertyValue: "STRING_VALUE",
49
- * // operator: "STRING_VALUE",
49
+ * // operator: "GREATER" || "GREATER_OR_EQUAL" || "LESS" || "LESS_OR_EQUAL" || "EQUAL" || "NOT_EQUAL",
50
50
  * // thresholdValue: "STRING_VALUE",
51
51
  * // },
52
52
  * // },
53
53
  * // customerAction: { // CustomerAction
54
- * // actionName: "STRING_VALUE",
54
+ * // actionName: "SNOOZE" || "ENABLE" || "DISABLE" || "ACKNOWLEDGE" || "RESET",
55
55
  * // snoozeActionConfiguration: { // SnoozeActionConfiguration
56
56
  * // snoozeDuration: Number("int"),
57
57
  * // note: "STRING_VALUE",
@@ -70,9 +70,9 @@ export interface DescribeAlarmCommandOutput extends DescribeAlarmResponse, __Met
70
70
  * // },
71
71
  * // },
72
72
  * // systemEvent: { // SystemEvent
73
- * // eventType: "STRING_VALUE",
73
+ * // eventType: "STATE_CHANGE",
74
74
  * // stateChangeConfiguration: { // StateChangeConfiguration
75
- * // triggerType: "STRING_VALUE",
75
+ * // triggerType: "SNOOZE_TIMEOUT",
76
76
  * // },
77
77
  * // },
78
78
  * // },
@@ -44,7 +44,7 @@ export interface ListAlarmsCommandOutput extends ListAlarmsResponse, __MetadataB
44
44
  * // alarmModelName: "STRING_VALUE",
45
45
  * // alarmModelVersion: "STRING_VALUE",
46
46
  * // keyValue: "STRING_VALUE",
47
- * // stateName: "STRING_VALUE",
47
+ * // stateName: "DISABLED" || "NORMAL" || "ACTIVE" || "ACKNOWLEDGED" || "SNOOZE_DISABLED" || "LATCHED",
48
48
  * // creationTime: new Date("TIMESTAMP"),
49
49
  * // lastUpdateTime: new Date("TIMESTAMP"),
50
50
  * // },
@@ -1,6 +1,7 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  /**
3
4
  * @internal
4
5
  */
5
- export interface IoTEventsDataExtensionConfiguration extends DefaultExtensionConfiguration {
6
+ export interface IoTEventsDataExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
6
7
  }
@@ -112,25 +112,25 @@ export interface CustomerAction {
112
112
  * <p>The name of the action. The action name can be one of the following values:</p>
113
113
  * <ul>
114
114
  * <li>
115
- * <p>
115
+ * <p>
116
116
  * <code>SNOOZE</code> - When you snooze the alarm, the alarm state changes to <code>SNOOZE_DISABLED</code>.</p>
117
- * </li>
117
+ * </li>
118
118
  * <li>
119
- * <p>
119
+ * <p>
120
120
  * <code>ENABLE</code> - When you enable the alarm, the alarm state changes to <code>NORMAL</code>.</p>
121
- * </li>
121
+ * </li>
122
122
  * <li>
123
- * <p>
123
+ * <p>
124
124
  * <code>DISABLE</code> - When you disable the alarm, the alarm state changes to <code>DISABLED</code>.</p>
125
- * </li>
125
+ * </li>
126
126
  * <li>
127
- * <p>
127
+ * <p>
128
128
  * <code>ACKNOWLEDGE</code> - When you acknowledge the alarm, the alarm state changes to <code>ACKNOWLEDGED</code>.</p>
129
- * </li>
129
+ * </li>
130
130
  * <li>
131
- * <p>
131
+ * <p>
132
132
  * <code>RESET</code> - When you reset the alarm, the alarm state changes to <code>NORMAL</code>.</p>
133
- * </li>
133
+ * </li>
134
134
  * </ul>
135
135
  * <p>For more information, see the <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_AlarmState.html">AlarmState</a> API.</p>
136
136
  */
@@ -286,38 +286,38 @@ export interface AlarmState {
286
286
  * <p>The name of the alarm state. The state name can be one of the following values:</p>
287
287
  * <ul>
288
288
  * <li>
289
- * <p>
289
+ * <p>
290
290
  * <code>DISABLED</code> - When the alarm is in the <code>DISABLED</code> state,
291
291
  * it isn't ready to evaluate data. To enable the alarm,
292
292
  * you must change the alarm to the <code>NORMAL</code> state.</p>
293
- * </li>
293
+ * </li>
294
294
  * <li>
295
- * <p>
295
+ * <p>
296
296
  * <code>NORMAL</code> - When the alarm is in the <code>NORMAL</code> state,
297
297
  * it's ready to evaluate data.</p>
298
- * </li>
298
+ * </li>
299
299
  * <li>
300
- * <p>
300
+ * <p>
301
301
  * <code>ACTIVE</code> - If the alarm is in the <code>ACTIVE</code> state,
302
302
  * the alarm is invoked.</p>
303
- * </li>
303
+ * </li>
304
304
  * <li>
305
- * <p>
305
+ * <p>
306
306
  * <code>ACKNOWLEDGED</code> - When the alarm is in the <code>ACKNOWLEDGED</code> state,
307
307
  * the alarm was invoked and you acknowledged the alarm.</p>
308
- * </li>
308
+ * </li>
309
309
  * <li>
310
- * <p>
310
+ * <p>
311
311
  * <code>SNOOZE_DISABLED</code> - When the alarm is in the <code>SNOOZE_DISABLED</code> state,
312
312
  * the alarm is disabled for a specified period of time. After the snooze time,
313
313
  * the alarm automatically changes to the <code>NORMAL</code> state. </p>
314
- * </li>
314
+ * </li>
315
315
  * <li>
316
- * <p>
316
+ * <p>
317
317
  * <code>LATCHED</code> - When the alarm is in the <code>LATCHED</code> state,
318
318
  * the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range.
319
319
  * To change the alarm to the <code>NORMAL</code> state, you must acknowledge the alarm.</p>
320
- * </li>
320
+ * </li>
321
321
  * </ul>
322
322
  */
323
323
  stateName?: AlarmStateName | string;
@@ -405,38 +405,38 @@ export interface AlarmSummary {
405
405
  * <p>The name of the alarm state. The state name can be one of the following values:</p>
406
406
  * <ul>
407
407
  * <li>
408
- * <p>
408
+ * <p>
409
409
  * <code>DISABLED</code> - When the alarm is in the <code>DISABLED</code> state,
410
410
  * it isn't ready to evaluate data. To enable the alarm,
411
411
  * you must change the alarm to the <code>NORMAL</code> state.</p>
412
- * </li>
412
+ * </li>
413
413
  * <li>
414
- * <p>
414
+ * <p>
415
415
  * <code>NORMAL</code> - When the alarm is in the <code>NORMAL</code> state,
416
416
  * it's ready to evaluate data.</p>
417
- * </li>
417
+ * </li>
418
418
  * <li>
419
- * <p>
419
+ * <p>
420
420
  * <code>ACTIVE</code> - If the alarm is in the <code>ACTIVE</code> state,
421
421
  * the alarm is invoked.</p>
422
- * </li>
422
+ * </li>
423
423
  * <li>
424
- * <p>
424
+ * <p>
425
425
  * <code>ACKNOWLEDGED</code> - When the alarm is in the <code>ACKNOWLEDGED</code> state,
426
426
  * the alarm was invoked and you acknowledged the alarm.</p>
427
- * </li>
427
+ * </li>
428
428
  * <li>
429
- * <p>
429
+ * <p>
430
430
  * <code>SNOOZE_DISABLED</code> - When the alarm is in the <code>SNOOZE_DISABLED</code> state,
431
431
  * the alarm is disabled for a specified period of time. After the snooze time,
432
432
  * the alarm automatically changes to the <code>NORMAL</code> state. </p>
433
- * </li>
433
+ * </li>
434
434
  * <li>
435
- * <p>
435
+ * <p>
436
436
  * <code>LATCHED</code> - When the alarm is in the <code>LATCHED</code> state,
437
437
  * the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range.
438
438
  * To change the alarm to the <code>NORMAL</code> state, you must acknowledge the alarm.</p>
439
- * </li>
439
+ * </li>
440
440
  * </ul>
441
441
  */
442
442
  stateName?: AlarmStateName | string;
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: IoTEventsDataClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: IoTEventsDataClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,10 @@ import { IoTEventsDataClientConfig } from "./IoTEventsDataClient";
5
5
  export declare const getRuntimeConfig: (config: IoTEventsDataClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
+ updateHttpClientConfig(key: never, value: never): void;
10
+ httpHandlerConfigs(): {};
11
+ }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
12
  apiVersion: string;
10
13
  urlParser: import("@smithy/types").UrlParser;
11
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -3,7 +3,7 @@ import { IoTEventsDataExtensionConfiguration } from "./extensionConfiguration";
3
3
  * @public
4
4
  */
5
5
  export interface RuntimeExtension {
6
- configure(clientConfiguration: IoTEventsDataExtensionConfiguration): void;
6
+ configure(extensionConfiguration: IoTEventsDataExtensionConfiguration): void;
7
7
  }
8
8
  /**
9
9
  * @public
@@ -1,3 +1,5 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  export interface IoTEventsDataExtensionConfiguration
3
- extends DefaultExtensionConfiguration {}
4
+ extends HttpHandlerExtensionConfiguration,
5
+ DefaultExtensionConfiguration {}
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: IoTEventsDataClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: IoTEventsDataClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: IoTEventsDataClientConfig) => {
8
8
  any,
9
9
  import("@smithy/types").HttpHandlerOptions
10
10
  > &
11
- import("@smithy/protocol-http").HttpHandler)
11
+ import("@smithy/types").RequestHandler<
12
+ import("@smithy/protocol-http").HttpRequest,
13
+ import("@smithy/protocol-http").HttpResponse,
14
+ import("@smithy/types").HttpHandlerOptions
15
+ > & {
16
+ updateHttpClientConfig(key: never, value: never): void;
17
+ httpHandlerConfigs(): {};
18
+ })
12
19
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
20
  apiVersion: string;
14
21
  urlParser: import("@smithy/types").UrlParser;
@@ -1,6 +1,6 @@
1
1
  import { IoTEventsDataExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(clientConfiguration: IoTEventsDataExtensionConfiguration): void;
3
+ configure(extensionConfiguration: IoTEventsDataExtensionConfiguration): void;
4
4
  }
5
5
  export interface RuntimeExtensionsConfig {
6
6
  extensions: RuntimeExtension[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-events-data",
3
3
  "description": "AWS SDK for JavaScript Iot Events Data Client for Node.js, Browser and React Native",
4
- "version": "3.408.0",
4
+ "version": "3.410.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",
@@ -21,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.408.0",
25
- "@aws-sdk/credential-provider-node": "3.408.0",
26
- "@aws-sdk/middleware-host-header": "3.408.0",
27
- "@aws-sdk/middleware-logger": "3.408.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.408.0",
29
- "@aws-sdk/middleware-signing": "3.408.0",
30
- "@aws-sdk/middleware-user-agent": "3.408.0",
31
- "@aws-sdk/types": "3.408.0",
32
- "@aws-sdk/util-endpoints": "3.408.0",
33
- "@aws-sdk/util-user-agent-browser": "3.408.0",
34
- "@aws-sdk/util-user-agent-node": "3.408.0",
35
- "@smithy/config-resolver": "^2.0.5",
36
- "@smithy/fetch-http-handler": "^2.0.5",
37
- "@smithy/hash-node": "^2.0.5",
38
- "@smithy/invalid-dependency": "^2.0.5",
39
- "@smithy/middleware-content-length": "^2.0.5",
40
- "@smithy/middleware-endpoint": "^2.0.5",
41
- "@smithy/middleware-retry": "^2.0.5",
42
- "@smithy/middleware-serde": "^2.0.5",
24
+ "@aws-sdk/client-sts": "3.410.0",
25
+ "@aws-sdk/credential-provider-node": "3.410.0",
26
+ "@aws-sdk/middleware-host-header": "3.410.0",
27
+ "@aws-sdk/middleware-logger": "3.410.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.410.0",
29
+ "@aws-sdk/middleware-signing": "3.410.0",
30
+ "@aws-sdk/middleware-user-agent": "3.410.0",
31
+ "@aws-sdk/types": "3.410.0",
32
+ "@aws-sdk/util-endpoints": "3.410.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.410.0",
34
+ "@aws-sdk/util-user-agent-node": "3.410.0",
35
+ "@smithy/config-resolver": "^2.0.7",
36
+ "@smithy/fetch-http-handler": "^2.1.2",
37
+ "@smithy/hash-node": "^2.0.6",
38
+ "@smithy/invalid-dependency": "^2.0.6",
39
+ "@smithy/middleware-content-length": "^2.0.8",
40
+ "@smithy/middleware-endpoint": "^2.0.6",
41
+ "@smithy/middleware-retry": "^2.0.9",
42
+ "@smithy/middleware-serde": "^2.0.6",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.6",
45
- "@smithy/node-http-handler": "^2.0.5",
46
- "@smithy/protocol-http": "^2.0.5",
47
- "@smithy/smithy-client": "^2.0.5",
48
- "@smithy/types": "^2.2.2",
49
- "@smithy/url-parser": "^2.0.5",
44
+ "@smithy/node-config-provider": "^2.0.9",
45
+ "@smithy/node-http-handler": "^2.1.2",
46
+ "@smithy/protocol-http": "^3.0.2",
47
+ "@smithy/smithy-client": "^2.1.3",
48
+ "@smithy/types": "^2.3.0",
49
+ "@smithy/url-parser": "^2.0.6",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.6",
54
- "@smithy/util-defaults-mode-node": "^2.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.7",
54
+ "@smithy/util-defaults-mode-node": "^2.0.9",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "tslib": "^2.5.0"