@aws-sdk/client-iotfleetwise 3.341.0 → 3.342.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 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://iotfleetwise-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://iotfleetwise-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://iotfleetwise.{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://iotfleetwise.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
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 }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ 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: [{ type: b, rules: [{ endpoint: { url: "https://iotfleetwise-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: [{ type: b, rules: [{ endpoint: { url: "https://iotfleetwise-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: [{ type: b, rules: [{ endpoint: { url: "https://iotfleetwise.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://iotfleetwise.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VehicleState = exports.RegistrationStatus = exports.FormattedVss = exports.NetworkFileDefinition = exports.ManifestStatus = exports.InvalidNodeException = exports.Node = exports.InvalidSignalsException = exports.DecoderManifestValidationException = exports.SignalDecoderFailureReason = exports.NetworkInterfaceFailureReason = exports.SignalDecoderType = exports.NetworkInterfaceType = exports.LogType = exports.UpdateCampaignAction = exports.CampaignStatus = exports.SpoolingMode = exports.DiagnosticsMode = exports.Compression = exports.CollectionScheme = exports.TriggerMode = exports.ConflictException = exports.UpdateMode = exports.LimitExceededException = exports.VehicleAssociationBehavior = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.NodeDataType = exports.AccessDeniedException = void 0;
3
+ exports.VehicleState = exports.RegistrationStatus = exports.FormattedVss = exports.NetworkFileDefinition = exports.ManifestStatus = exports.InvalidNodeException = exports.Node = exports.InvalidSignalsException = exports.DecoderManifestValidationException = exports.SignalDecoderFailureReason = exports.NetworkInterfaceFailureReason = exports.SignalDecoderType = exports.NetworkInterfaceType = exports.LogType = exports.UpdateCampaignAction = exports.CampaignStatus = exports.SpoolingMode = exports.DiagnosticsMode = exports.DataDestinationConfig = exports.StorageCompressionFormat = exports.DataFormat = exports.Compression = exports.CollectionScheme = exports.TriggerMode = exports.ConflictException = exports.UpdateMode = exports.LimitExceededException = exports.VehicleAssociationBehavior = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.NodeDataType = exports.AccessDeniedException = void 0;
4
4
  const IoTFleetWiseServiceException_1 = require("./IoTFleetWiseServiceException");
5
5
  class AccessDeniedException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
6
6
  constructor(opts) {
@@ -166,6 +166,24 @@ exports.Compression = {
166
166
  OFF: "OFF",
167
167
  SNAPPY: "SNAPPY",
168
168
  };
169
+ exports.DataFormat = {
170
+ JSON: "JSON",
171
+ PARQUET: "PARQUET",
172
+ };
173
+ exports.StorageCompressionFormat = {
174
+ GZIP: "GZIP",
175
+ NONE: "NONE",
176
+ };
177
+ var DataDestinationConfig;
178
+ (function (DataDestinationConfig) {
179
+ DataDestinationConfig.visit = (value, visitor) => {
180
+ if (value.s3Config !== undefined)
181
+ return visitor.s3Config(value.s3Config);
182
+ if (value.timestreamConfig !== undefined)
183
+ return visitor.timestreamConfig(value.timestreamConfig);
184
+ return visitor._(value.$unknown[0], value.$unknown[1]);
185
+ };
186
+ })(DataDestinationConfig = exports.DataDestinationConfig || (exports.DataDestinationConfig = {}));
169
187
  exports.DiagnosticsMode = {
170
188
  OFF: "OFF",
171
189
  SEND_ACTIVE_DTCS: "SEND_ACTIVE_DTCS",
@@ -2781,7 +2781,9 @@ const se_Actuator = (input, context) => {
2781
2781
  return (0, smithy_client_1.take)(input, {
2782
2782
  allowedValues: smithy_client_1._json,
2783
2783
  assignedValue: [],
2784
+ comment: [],
2784
2785
  dataType: [],
2786
+ deprecationMessage: [],
2785
2787
  description: [],
2786
2788
  fullyQualifiedName: [],
2787
2789
  max: smithy_client_1.serializeFloat,
@@ -2793,8 +2795,10 @@ const se_Attribute = (input, context) => {
2793
2795
  return (0, smithy_client_1.take)(input, {
2794
2796
  allowedValues: smithy_client_1._json,
2795
2797
  assignedValue: [],
2798
+ comment: [],
2796
2799
  dataType: [],
2797
2800
  defaultValue: [],
2801
+ deprecationMessage: [],
2798
2802
  description: [],
2799
2803
  fullyQualifiedName: [],
2800
2804
  max: smithy_client_1.serializeFloat,
@@ -2825,6 +2829,7 @@ const se_CreateCampaignRequest = (input, context) => {
2825
2829
  return (0, smithy_client_1.take)(input, {
2826
2830
  collectionScheme: smithy_client_1._json,
2827
2831
  compression: [],
2832
+ dataDestinationConfigs: smithy_client_1._json,
2828
2833
  dataExtraDimensions: smithy_client_1._json,
2829
2834
  description: [],
2830
2835
  diagnosticsMode: [],
@@ -2916,7 +2921,9 @@ const se_ObdSignal = (input, context) => {
2916
2921
  const se_Sensor = (input, context) => {
2917
2922
  return (0, smithy_client_1.take)(input, {
2918
2923
  allowedValues: smithy_client_1._json,
2924
+ comment: [],
2919
2925
  dataType: [],
2926
+ deprecationMessage: [],
2920
2927
  description: [],
2921
2928
  fullyQualifiedName: [],
2922
2929
  max: smithy_client_1.serializeFloat,
@@ -2966,7 +2973,9 @@ const de_Actuator = (output, context) => {
2966
2973
  return (0, smithy_client_1.take)(output, {
2967
2974
  allowedValues: smithy_client_1._json,
2968
2975
  assignedValue: smithy_client_1.expectString,
2976
+ comment: smithy_client_1.expectString,
2969
2977
  dataType: smithy_client_1.expectString,
2978
+ deprecationMessage: smithy_client_1.expectString,
2970
2979
  description: smithy_client_1.expectString,
2971
2980
  fullyQualifiedName: smithy_client_1.expectString,
2972
2981
  max: smithy_client_1.limitedParseDouble,
@@ -2978,8 +2987,10 @@ const de_Attribute = (output, context) => {
2978
2987
  return (0, smithy_client_1.take)(output, {
2979
2988
  allowedValues: smithy_client_1._json,
2980
2989
  assignedValue: smithy_client_1.expectString,
2990
+ comment: smithy_client_1.expectString,
2981
2991
  dataType: smithy_client_1.expectString,
2982
2992
  defaultValue: smithy_client_1.expectString,
2993
+ deprecationMessage: smithy_client_1.expectString,
2983
2994
  description: smithy_client_1.expectString,
2984
2995
  fullyQualifiedName: smithy_client_1.expectString,
2985
2996
  max: smithy_client_1.limitedParseDouble,
@@ -3062,6 +3073,7 @@ const de_GetCampaignResponse = (output, context) => {
3062
3073
  collectionScheme: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
3063
3074
  compression: smithy_client_1.expectString,
3064
3075
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3076
+ dataDestinationConfigs: smithy_client_1._json,
3065
3077
  dataExtraDimensions: smithy_client_1._json,
3066
3078
  description: smithy_client_1.expectString,
3067
3079
  diagnosticsMode: smithy_client_1.expectString,
@@ -3277,7 +3289,9 @@ const de_RegisterAccountResponse = (output, context) => {
3277
3289
  const de_Sensor = (output, context) => {
3278
3290
  return (0, smithy_client_1.take)(output, {
3279
3291
  allowedValues: smithy_client_1._json,
3292
+ comment: smithy_client_1.expectString,
3280
3293
  dataType: smithy_client_1.expectString,
3294
+ deprecationMessage: smithy_client_1.expectString,
3281
3295
  description: smithy_client_1.expectString,
3282
3296
  fullyQualifiedName: smithy_client_1.expectString,
3283
3297
  max: smithy_client_1.limitedParseDouble,
@@ -1,4 +1,4 @@
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://iotfleetwise-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://iotfleetwise-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://iotfleetwise.{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://iotfleetwise.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
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 }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ 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: [{ type: b, rules: [{ endpoint: { url: "https://iotfleetwise-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: [{ type: b, rules: [{ endpoint: { url: "https://iotfleetwise-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: [{ type: b, rules: [{ endpoint: { url: "https://iotfleetwise.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://iotfleetwise.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -156,6 +156,24 @@ export const Compression = {
156
156
  OFF: "OFF",
157
157
  SNAPPY: "SNAPPY",
158
158
  };
159
+ export const DataFormat = {
160
+ JSON: "JSON",
161
+ PARQUET: "PARQUET",
162
+ };
163
+ export const StorageCompressionFormat = {
164
+ GZIP: "GZIP",
165
+ NONE: "NONE",
166
+ };
167
+ export var DataDestinationConfig;
168
+ (function (DataDestinationConfig) {
169
+ DataDestinationConfig.visit = (value, visitor) => {
170
+ if (value.s3Config !== undefined)
171
+ return visitor.s3Config(value.s3Config);
172
+ if (value.timestreamConfig !== undefined)
173
+ return visitor.timestreamConfig(value.timestreamConfig);
174
+ return visitor._(value.$unknown[0], value.$unknown[1]);
175
+ };
176
+ })(DataDestinationConfig || (DataDestinationConfig = {}));
159
177
  export const DiagnosticsMode = {
160
178
  OFF: "OFF",
161
179
  SEND_ACTIVE_DTCS: "SEND_ACTIVE_DTCS",
@@ -2677,7 +2677,9 @@ const se_Actuator = (input, context) => {
2677
2677
  return take(input, {
2678
2678
  allowedValues: _json,
2679
2679
  assignedValue: [],
2680
+ comment: [],
2680
2681
  dataType: [],
2682
+ deprecationMessage: [],
2681
2683
  description: [],
2682
2684
  fullyQualifiedName: [],
2683
2685
  max: __serializeFloat,
@@ -2689,8 +2691,10 @@ const se_Attribute = (input, context) => {
2689
2691
  return take(input, {
2690
2692
  allowedValues: _json,
2691
2693
  assignedValue: [],
2694
+ comment: [],
2692
2695
  dataType: [],
2693
2696
  defaultValue: [],
2697
+ deprecationMessage: [],
2694
2698
  description: [],
2695
2699
  fullyQualifiedName: [],
2696
2700
  max: __serializeFloat,
@@ -2721,6 +2725,7 @@ const se_CreateCampaignRequest = (input, context) => {
2721
2725
  return take(input, {
2722
2726
  collectionScheme: _json,
2723
2727
  compression: [],
2728
+ dataDestinationConfigs: _json,
2724
2729
  dataExtraDimensions: _json,
2725
2730
  description: [],
2726
2731
  diagnosticsMode: [],
@@ -2812,7 +2817,9 @@ const se_ObdSignal = (input, context) => {
2812
2817
  const se_Sensor = (input, context) => {
2813
2818
  return take(input, {
2814
2819
  allowedValues: _json,
2820
+ comment: [],
2815
2821
  dataType: [],
2822
+ deprecationMessage: [],
2816
2823
  description: [],
2817
2824
  fullyQualifiedName: [],
2818
2825
  max: __serializeFloat,
@@ -2862,7 +2869,9 @@ const de_Actuator = (output, context) => {
2862
2869
  return take(output, {
2863
2870
  allowedValues: _json,
2864
2871
  assignedValue: __expectString,
2872
+ comment: __expectString,
2865
2873
  dataType: __expectString,
2874
+ deprecationMessage: __expectString,
2866
2875
  description: __expectString,
2867
2876
  fullyQualifiedName: __expectString,
2868
2877
  max: __limitedParseDouble,
@@ -2874,8 +2883,10 @@ const de_Attribute = (output, context) => {
2874
2883
  return take(output, {
2875
2884
  allowedValues: _json,
2876
2885
  assignedValue: __expectString,
2886
+ comment: __expectString,
2877
2887
  dataType: __expectString,
2878
2888
  defaultValue: __expectString,
2889
+ deprecationMessage: __expectString,
2879
2890
  description: __expectString,
2880
2891
  fullyQualifiedName: __expectString,
2881
2892
  max: __limitedParseDouble,
@@ -2958,6 +2969,7 @@ const de_GetCampaignResponse = (output, context) => {
2958
2969
  collectionScheme: (_) => _json(__expectUnion(_)),
2959
2970
  compression: __expectString,
2960
2971
  creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2972
+ dataDestinationConfigs: _json,
2961
2973
  dataExtraDimensions: _json,
2962
2974
  description: __expectString,
2963
2975
  diagnosticsMode: __expectString,
@@ -3173,7 +3185,9 @@ const de_RegisterAccountResponse = (output, context) => {
3173
3185
  const de_Sensor = (output, context) => {
3174
3186
  return take(output, {
3175
3187
  allowedValues: _json,
3188
+ comment: __expectString,
3176
3189
  dataType: __expectString,
3190
+ deprecationMessage: __expectString,
3177
3191
  description: __expectString,
3178
3192
  fullyQualifiedName: __expectString,
3179
3193
  max: __limitedParseDouble,
@@ -74,6 +74,20 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
74
74
  * Value: "STRING_VALUE", // required
75
75
  * },
76
76
  * ],
77
+ * dataDestinationConfigs: [ // DataDestinationConfigs
78
+ * { // DataDestinationConfig Union: only one key present
79
+ * s3Config: { // S3Config
80
+ * bucketArn: "STRING_VALUE", // required
81
+ * dataFormat: "STRING_VALUE",
82
+ * storageCompressionFormat: "STRING_VALUE",
83
+ * prefix: "STRING_VALUE",
84
+ * },
85
+ * timestreamConfig: { // TimestreamConfig
86
+ * timestreamTableArn: "STRING_VALUE", // required
87
+ * executionRoleArn: "STRING_VALUE", // required
88
+ * },
89
+ * },
90
+ * ],
77
91
  * };
78
92
  * const command = new CreateCampaignCommand(input);
79
93
  * const response = await client.send(command);
@@ -39,6 +39,8 @@ export interface CreateSignalCatalogCommandOutput extends CreateSignalCatalogRes
39
39
  * branch: { // Branch
40
40
  * fullyQualifiedName: "STRING_VALUE", // required
41
41
  * description: "STRING_VALUE",
42
+ * deprecationMessage: "STRING_VALUE",
43
+ * comment: "STRING_VALUE",
42
44
  * },
43
45
  * sensor: { // Sensor
44
46
  * fullyQualifiedName: "STRING_VALUE", // required
@@ -50,6 +52,8 @@ export interface CreateSignalCatalogCommandOutput extends CreateSignalCatalogRes
50
52
  * ],
51
53
  * min: Number("double"),
52
54
  * max: Number("double"),
55
+ * deprecationMessage: "STRING_VALUE",
56
+ * comment: "STRING_VALUE",
53
57
  * },
54
58
  * actuator: { // Actuator
55
59
  * fullyQualifiedName: "STRING_VALUE", // required
@@ -62,6 +66,8 @@ export interface CreateSignalCatalogCommandOutput extends CreateSignalCatalogRes
62
66
  * min: Number("double"),
63
67
  * max: Number("double"),
64
68
  * assignedValue: "STRING_VALUE",
69
+ * deprecationMessage: "STRING_VALUE",
70
+ * comment: "STRING_VALUE",
65
71
  * },
66
72
  * attribute: { // Attribute
67
73
  * fullyQualifiedName: "STRING_VALUE", // required
@@ -75,6 +81,8 @@ export interface CreateSignalCatalogCommandOutput extends CreateSignalCatalogRes
75
81
  * max: Number("double"),
76
82
  * assignedValue: "STRING_VALUE",
77
83
  * defaultValue: "STRING_VALUE",
84
+ * deprecationMessage: "STRING_VALUE",
85
+ * comment: "STRING_VALUE",
78
86
  * },
79
87
  * },
80
88
  * ],
@@ -27,7 +27,7 @@ export interface CreateVehicleCommandOutput extends CreateVehicleResponse, __Met
27
27
  * created from the same vehicle model consist of the same signals inherited from the
28
28
  * vehicle model.</p>
29
29
  * <note>
30
- * <p> If you have an existing Amazon Web Services IoT Thing, you can use Amazon Web Services IoT FleetWise to create a
30
+ * <p> If you have an existing Amazon Web Services IoT thing, you can use Amazon Web Services IoT FleetWise to create a
31
31
  * vehicle and collect data from your thing. </p>
32
32
  * </note>
33
33
  * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-fleetwise/latest/developerguide/create-vehicle-cli.html">Create a vehicle
@@ -72,6 +72,20 @@ export interface GetCampaignCommandOutput extends GetCampaignResponse, __Metadat
72
72
  * // ],
73
73
  * // creationTime: new Date("TIMESTAMP"),
74
74
  * // lastModificationTime: new Date("TIMESTAMP"),
75
+ * // dataDestinationConfigs: [ // DataDestinationConfigs
76
+ * // { // DataDestinationConfig Union: only one key present
77
+ * // s3Config: { // S3Config
78
+ * // bucketArn: "STRING_VALUE", // required
79
+ * // dataFormat: "STRING_VALUE",
80
+ * // storageCompressionFormat: "STRING_VALUE",
81
+ * // prefix: "STRING_VALUE",
82
+ * // },
83
+ * // timestreamConfig: { // TimestreamConfig
84
+ * // timestreamTableArn: "STRING_VALUE", // required
85
+ * // executionRoleArn: "STRING_VALUE", // required
86
+ * // },
87
+ * // },
88
+ * // ],
75
89
  * // };
76
90
  *
77
91
  * ```
@@ -46,6 +46,8 @@ export interface ListModelManifestNodesCommandOutput extends ListModelManifestNo
46
46
  * // branch: { // Branch
47
47
  * // fullyQualifiedName: "STRING_VALUE", // required
48
48
  * // description: "STRING_VALUE",
49
+ * // deprecationMessage: "STRING_VALUE",
50
+ * // comment: "STRING_VALUE",
49
51
  * // },
50
52
  * // sensor: { // Sensor
51
53
  * // fullyQualifiedName: "STRING_VALUE", // required
@@ -57,6 +59,8 @@ export interface ListModelManifestNodesCommandOutput extends ListModelManifestNo
57
59
  * // ],
58
60
  * // min: Number("double"),
59
61
  * // max: Number("double"),
62
+ * // deprecationMessage: "STRING_VALUE",
63
+ * // comment: "STRING_VALUE",
60
64
  * // },
61
65
  * // actuator: { // Actuator
62
66
  * // fullyQualifiedName: "STRING_VALUE", // required
@@ -69,6 +73,8 @@ export interface ListModelManifestNodesCommandOutput extends ListModelManifestNo
69
73
  * // min: Number("double"),
70
74
  * // max: Number("double"),
71
75
  * // assignedValue: "STRING_VALUE",
76
+ * // deprecationMessage: "STRING_VALUE",
77
+ * // comment: "STRING_VALUE",
72
78
  * // },
73
79
  * // attribute: { // Attribute
74
80
  * // fullyQualifiedName: "STRING_VALUE", // required
@@ -82,6 +88,8 @@ export interface ListModelManifestNodesCommandOutput extends ListModelManifestNo
82
88
  * // max: Number("double"),
83
89
  * // assignedValue: "STRING_VALUE",
84
90
  * // defaultValue: "STRING_VALUE",
91
+ * // deprecationMessage: "STRING_VALUE",
92
+ * // comment: "STRING_VALUE",
85
93
  * // },
86
94
  * // },
87
95
  * // ],
@@ -46,6 +46,8 @@ export interface ListSignalCatalogNodesCommandOutput extends ListSignalCatalogNo
46
46
  * // branch: { // Branch
47
47
  * // fullyQualifiedName: "STRING_VALUE", // required
48
48
  * // description: "STRING_VALUE",
49
+ * // deprecationMessage: "STRING_VALUE",
50
+ * // comment: "STRING_VALUE",
49
51
  * // },
50
52
  * // sensor: { // Sensor
51
53
  * // fullyQualifiedName: "STRING_VALUE", // required
@@ -57,6 +59,8 @@ export interface ListSignalCatalogNodesCommandOutput extends ListSignalCatalogNo
57
59
  * // ],
58
60
  * // min: Number("double"),
59
61
  * // max: Number("double"),
62
+ * // deprecationMessage: "STRING_VALUE",
63
+ * // comment: "STRING_VALUE",
60
64
  * // },
61
65
  * // actuator: { // Actuator
62
66
  * // fullyQualifiedName: "STRING_VALUE", // required
@@ -69,6 +73,8 @@ export interface ListSignalCatalogNodesCommandOutput extends ListSignalCatalogNo
69
73
  * // min: Number("double"),
70
74
  * // max: Number("double"),
71
75
  * // assignedValue: "STRING_VALUE",
76
+ * // deprecationMessage: "STRING_VALUE",
77
+ * // comment: "STRING_VALUE",
72
78
  * // },
73
79
  * // attribute: { // Attribute
74
80
  * // fullyQualifiedName: "STRING_VALUE", // required
@@ -82,6 +88,8 @@ export interface ListSignalCatalogNodesCommandOutput extends ListSignalCatalogNo
82
88
  * // max: Number("double"),
83
89
  * // assignedValue: "STRING_VALUE",
84
90
  * // defaultValue: "STRING_VALUE",
91
+ * // deprecationMessage: "STRING_VALUE",
92
+ * // comment: "STRING_VALUE",
85
93
  * // },
86
94
  * // },
87
95
  * // ],
@@ -23,13 +23,18 @@ export interface RegisterAccountCommandOutput extends RegisterAccountResponse, _
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Registers your Amazon Web Services account, IAM, and Amazon Timestream resources so Amazon Web Services IoT FleetWise can
26
+ * <important>
27
+ * <p>This API operation contains deprecated parameters. Register your account again without the Timestream resources parameter so that Amazon Web Services IoT FleetWise can remove the Timestream metadata stored. You should then pass the data destination into the <a href="https://docs.aws.amazon.com/iot-fleetwise/latest/APIReference/API_CreateCampaign.html">CreateCampaign</a> API operation.</p>
28
+ * <p>You must delete any existing campaigns that include an empty data destination before you register your account again. For more information, see the <a href="https://docs.aws.amazon.com/iot-fleetwise/latest/APIReference/API_DeleteCampaign.html">DeleteCampaign</a> API operation.</p>
29
+ * <p>If you want to delete the Timestream inline policy from the service-linked role, such as to mitigate an overly permissive policy, you must first delete any existing campaigns. Then delete the service-linked role and register your account again to enable CloudWatch metrics. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteServiceLinkedRole.html">DeleteServiceLinkedRole</a> in the <i>Identity and Access Management API Reference</i>.</p>
30
+ * </important>
31
+ *
32
+ * <p>Registers your Amazon Web Services account, IAM, and Amazon Timestream resources so Amazon Web Services IoT FleetWise can
27
33
  * transfer your vehicle data to the Amazon Web Services Cloud. For more information, including
28
34
  * step-by-step procedures, see <a href="https://docs.aws.amazon.com/iot-fleetwise/latest/developerguide/setting-up.html">Setting up
29
35
  * Amazon Web Services IoT FleetWise</a>. </p>
30
36
  * <note>
31
- * <p>An Amazon Web Services account is <b>not</b> the same thing as a "user
32
- * account". An <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction_identity-management.html#intro-identity-users">Amazon Web Services user</a> is an identity that you create using Identity and Access Management (IAM) and
37
+ * <p>An Amazon Web Services account is <b>not</b> the same thing as a "user." An <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction_identity-management.html#intro-identity-users">Amazon Web Services user</a> is an identity that you create using Identity and Access Management (IAM) and
33
38
  * takes the form of either an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users.html">IAM user</a> or an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM role, both
34
39
  * with credentials</a>. A single Amazon Web Services account can, and typically does,
35
40
  * contain many users and roles.</p>
@@ -38,6 +38,8 @@ export interface UpdateSignalCatalogCommandOutput extends UpdateSignalCatalogRes
38
38
  * branch: { // Branch
39
39
  * fullyQualifiedName: "STRING_VALUE", // required
40
40
  * description: "STRING_VALUE",
41
+ * deprecationMessage: "STRING_VALUE",
42
+ * comment: "STRING_VALUE",
41
43
  * },
42
44
  * sensor: { // Sensor
43
45
  * fullyQualifiedName: "STRING_VALUE", // required
@@ -49,6 +51,8 @@ export interface UpdateSignalCatalogCommandOutput extends UpdateSignalCatalogRes
49
51
  * ],
50
52
  * min: Number("double"),
51
53
  * max: Number("double"),
54
+ * deprecationMessage: "STRING_VALUE",
55
+ * comment: "STRING_VALUE",
52
56
  * },
53
57
  * actuator: { // Actuator
54
58
  * fullyQualifiedName: "STRING_VALUE", // required
@@ -61,6 +65,8 @@ export interface UpdateSignalCatalogCommandOutput extends UpdateSignalCatalogRes
61
65
  * min: Number("double"),
62
66
  * max: Number("double"),
63
67
  * assignedValue: "STRING_VALUE",
68
+ * deprecationMessage: "STRING_VALUE",
69
+ * comment: "STRING_VALUE",
64
70
  * },
65
71
  * attribute: { // Attribute
66
72
  * fullyQualifiedName: "STRING_VALUE", // required
@@ -74,6 +80,8 @@ export interface UpdateSignalCatalogCommandOutput extends UpdateSignalCatalogRes
74
80
  * max: Number("double"),
75
81
  * assignedValue: "STRING_VALUE",
76
82
  * defaultValue: "STRING_VALUE",
83
+ * deprecationMessage: "STRING_VALUE",
84
+ * comment: "STRING_VALUE",
77
85
  * },
78
86
  * },
79
87
  * ],
@@ -82,6 +90,8 @@ export interface UpdateSignalCatalogCommandOutput extends UpdateSignalCatalogRes
82
90
  * branch: {
83
91
  * fullyQualifiedName: "STRING_VALUE", // required
84
92
  * description: "STRING_VALUE",
93
+ * deprecationMessage: "STRING_VALUE",
94
+ * comment: "STRING_VALUE",
85
95
  * },
86
96
  * sensor: {
87
97
  * fullyQualifiedName: "STRING_VALUE", // required
@@ -93,6 +103,8 @@ export interface UpdateSignalCatalogCommandOutput extends UpdateSignalCatalogRes
93
103
  * ],
94
104
  * min: Number("double"),
95
105
  * max: Number("double"),
106
+ * deprecationMessage: "STRING_VALUE",
107
+ * comment: "STRING_VALUE",
96
108
  * },
97
109
  * actuator: {
98
110
  * fullyQualifiedName: "STRING_VALUE", // required
@@ -105,6 +117,8 @@ export interface UpdateSignalCatalogCommandOutput extends UpdateSignalCatalogRes
105
117
  * min: Number("double"),
106
118
  * max: Number("double"),
107
119
  * assignedValue: "STRING_VALUE",
120
+ * deprecationMessage: "STRING_VALUE",
121
+ * comment: "STRING_VALUE",
108
122
  * },
109
123
  * attribute: {
110
124
  * fullyQualifiedName: "STRING_VALUE", // required
@@ -116,6 +130,8 @@ export interface UpdateSignalCatalogCommandOutput extends UpdateSignalCatalogRes
116
130
  * max: Number("double"),
117
131
  * assignedValue: "STRING_VALUE",
118
132
  * defaultValue: "STRING_VALUE",
133
+ * deprecationMessage: "STRING_VALUE",
134
+ * comment: "STRING_VALUE",
119
135
  * },
120
136
  * },
121
137
  * ],
@@ -13,7 +13,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
13
13
  defaultSigningName: string;
14
14
  };
15
15
  export interface EndpointParameters extends __EndpointParameters {
16
- Region: string;
16
+ Region?: string;
17
17
  UseDualStack?: boolean;
18
18
  UseFIPS?: boolean;
19
19
  Endpoint?: string;
@@ -94,6 +94,14 @@ export interface Actuator {
94
94
  * <p>A specified value for the actuator.</p>
95
95
  */
96
96
  assignedValue?: string;
97
+ /**
98
+ * <p>The deprecation message for the node or the branch that was moved or deleted.</p>
99
+ */
100
+ deprecationMessage?: string;
101
+ /**
102
+ * <p>A comment in addition to the description.</p>
103
+ */
104
+ comment?: string;
97
105
  }
98
106
  /**
99
107
  * @public
@@ -267,6 +275,14 @@ export interface Attribute {
267
275
  * <p>The default value of the attribute.</p>
268
276
  */
269
277
  defaultValue?: string;
278
+ /**
279
+ * <p>The deprecation message for the node or the branch that was moved or deleted.</p>
280
+ */
281
+ deprecationMessage?: string;
282
+ /**
283
+ * <p>A comment in addition to the description.</p>
284
+ */
285
+ comment?: string;
270
286
  }
271
287
  /**
272
288
  * @public
@@ -526,6 +542,14 @@ export interface Branch {
526
542
  * <p>A brief description of the branch.</p>
527
543
  */
528
544
  description?: string;
545
+ /**
546
+ * <p>The deprecation message for the node or the branch that was moved or deleted.</p>
547
+ */
548
+ deprecationMessage?: string;
549
+ /**
550
+ * <p>A comment in addition to the description.</p>
551
+ */
552
+ comment?: string;
529
553
  }
530
554
  /**
531
555
  * @public
@@ -656,6 +680,115 @@ export declare const Compression: {
656
680
  * @public
657
681
  */
658
682
  export type Compression = (typeof Compression)[keyof typeof Compression];
683
+ /**
684
+ * @public
685
+ * @enum
686
+ */
687
+ export declare const DataFormat: {
688
+ readonly JSON: "JSON";
689
+ readonly PARQUET: "PARQUET";
690
+ };
691
+ /**
692
+ * @public
693
+ */
694
+ export type DataFormat = (typeof DataFormat)[keyof typeof DataFormat];
695
+ /**
696
+ * @public
697
+ * @enum
698
+ */
699
+ export declare const StorageCompressionFormat: {
700
+ readonly GZIP: "GZIP";
701
+ readonly NONE: "NONE";
702
+ };
703
+ /**
704
+ * @public
705
+ */
706
+ export type StorageCompressionFormat = (typeof StorageCompressionFormat)[keyof typeof StorageCompressionFormat];
707
+ /**
708
+ * @public
709
+ * <p>The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data. Amazon S3 is an object storage service that stores data as objects within buckets. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html">Creating, configuring, and working with Amazon S3 buckets</a> in the <i>Amazon Simple Storage Service User Guide</i>.</p>
710
+ */
711
+ export interface S3Config {
712
+ /**
713
+ * <p>The Amazon Resource Name (ARN) of the Amazon S3 bucket.</p>
714
+ */
715
+ bucketArn: string | undefined;
716
+ /**
717
+ * <p>Specify the format that files are saved in the Amazon S3 bucket. You can save files in an Apache Parquet or JSON format.</p>
718
+ * <ul>
719
+ * <li>
720
+ * <p>Parquet - Store data in a columnar storage file format. Parquet is optimal for
721
+ * fast data retrieval and can reduce costs. This option is selected by
722
+ * default.</p>
723
+ * </li>
724
+ * <li>
725
+ * <p>JSON - Store data in a standard text-based JSON file format.</p>
726
+ * </li>
727
+ * </ul>
728
+ */
729
+ dataFormat?: DataFormat | string;
730
+ /**
731
+ * <p>By default, stored data is compressed as a .gzip file. Compressed files have a reduced
732
+ * file size, which can optimize the cost of data storage.</p>
733
+ */
734
+ storageCompressionFormat?: StorageCompressionFormat | string;
735
+ /**
736
+ * <p>(Optional) Enter an S3 bucket prefix. The prefix is the string of characters after the bucket name and before the object name. You can use the prefix to organize data stored in Amazon S3 buckets. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html">Organizing objects using prefixes</a> in the <i>Amazon Simple Storage Service User Guide</i>.</p>
737
+ * <p>By default, Amazon Web Services IoT FleetWise sets the prefix <code>processed-data/year=YY/month=MM/date=DD/hour=HH/</code> (in UTC) to data it delivers to Amazon S3. You can enter a prefix to append it to this default prefix. For example, if you enter the prefix <code>vehicles</code>, the prefix will be <code>vehicles/processed-data/year=YY/month=MM/date=DD/hour=HH/</code>.</p>
738
+ */
739
+ prefix?: string;
740
+ }
741
+ /**
742
+ * @public
743
+ * <p>The Amazon Timestream table where the Amazon Web Services IoT FleetWise campaign sends data. Timestream stores and organizes data to optimize query processing time and to reduce storage costs. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/data-modeling.html">Data modeling</a> in the <i>Amazon Timestream Developer Guide</i>.</p>
744
+ */
745
+ export interface TimestreamConfig {
746
+ /**
747
+ * <p>The Amazon Resource Name (ARN) of the Amazon Timestream table.</p>
748
+ */
749
+ timestreamTableArn: string | undefined;
750
+ /**
751
+ * <p>The Amazon Resource Name (ARN) of the task execution role that grants Amazon Web Services IoT FleetWise permission to deliver data to the Amazon Timestream table.</p>
752
+ */
753
+ executionRoleArn: string | undefined;
754
+ }
755
+ /**
756
+ * @public
757
+ * <p>The destination where the Amazon Web Services IoT FleetWise campaign sends data. You can send data to be stored in Amazon S3 or Amazon Timestream.</p>
758
+ */
759
+ export type DataDestinationConfig = DataDestinationConfig.S3ConfigMember | DataDestinationConfig.TimestreamConfigMember | DataDestinationConfig.$UnknownMember;
760
+ /**
761
+ * @public
762
+ */
763
+ export declare namespace DataDestinationConfig {
764
+ /**
765
+ * <p>The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data.</p>
766
+ */
767
+ interface S3ConfigMember {
768
+ s3Config: S3Config;
769
+ timestreamConfig?: never;
770
+ $unknown?: never;
771
+ }
772
+ /**
773
+ * <p>The Amazon Timestream table where the campaign sends data.</p>
774
+ */
775
+ interface TimestreamConfigMember {
776
+ s3Config?: never;
777
+ timestreamConfig: TimestreamConfig;
778
+ $unknown?: never;
779
+ }
780
+ interface $UnknownMember {
781
+ s3Config?: never;
782
+ timestreamConfig?: never;
783
+ $unknown: [string, any];
784
+ }
785
+ interface Visitor<T> {
786
+ s3Config: (value: S3Config) => T;
787
+ timestreamConfig: (value: TimestreamConfig) => T;
788
+ _: (name: string, value: any) => T;
789
+ }
790
+ const visit: <T>(value: DataDestinationConfig, visitor: Visitor<T>) => T;
791
+ }
659
792
  /**
660
793
  * @public
661
794
  * @enum
@@ -732,7 +865,7 @@ export interface CreateCampaignRequest {
732
865
  startTime?: Date;
733
866
  /**
734
867
  * <p> (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at
735
- * midnight UTC time). Vehicle data won't be collected after the campaign expires. </p>
868
+ * midnight UTC time). Vehicle data isn't collected after the campaign expires. </p>
736
869
  * <p>Default: 253402214400 (December 31, 9999, 00:00:00 UTC)</p>
737
870
  */
738
871
  expiryTime?: Date;
@@ -795,6 +928,13 @@ export interface CreateCampaignRequest {
795
928
  * <p>Metadata that can be used to manage the campaign.</p>
796
929
  */
797
930
  tags?: Tag[];
931
+ /**
932
+ * <p>The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon Timestream.</p>
933
+ * <p>Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics. </p>
934
+ * <p>You can use Amazon Timestream to access and analyze time series data, and Timestream to query
935
+ * vehicle data so that you can identify trends and patterns.</p>
936
+ */
937
+ dataDestinationConfigs?: DataDestinationConfig[];
798
938
  }
799
939
  /**
800
940
  * @public
@@ -944,6 +1084,13 @@ export interface GetCampaignResponse {
944
1084
  * <p>The last time the campaign was modified.</p>
945
1085
  */
946
1086
  lastModificationTime?: Date;
1087
+ /**
1088
+ * <p>The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon Timestream.</p>
1089
+ * <p>Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics. </p>
1090
+ * <p>You can use Amazon Timestream to access and analyze time series data, and Timestream to query
1091
+ * vehicle data so that you can identify trends and patterns.</p>
1092
+ */
1093
+ dataDestinationConfigs?: DataDestinationConfig[];
947
1094
  }
948
1095
  /**
949
1096
  * @public
@@ -1083,11 +1230,11 @@ export interface UpdateCampaignRequest {
1083
1230
  * </li>
1084
1231
  * <li>
1085
1232
  * <p>
1086
- * <code>SUSPEND</code> - To suspend collecting signal data. </p>
1233
+ * <code>SUSPEND</code> - To suspend collecting signal data. The campaign is deleted from vehicles and all vehicles in the suspended campaign will stop sending data.</p>
1087
1234
  * </li>
1088
1235
  * <li>
1089
1236
  * <p>
1090
- * <code>RESUME</code> - To resume collecting signal data. </p>
1237
+ * <code>RESUME</code> - To reactivate the <code>SUSPEND</code> campaign. The campaign is redeployed to all vehicles and the vehicles will resume sending data.</p>
1091
1238
  * </li>
1092
1239
  * <li>
1093
1240
  * <p>
@@ -1193,11 +1340,15 @@ export interface CanSignal {
1193
1340
  */
1194
1341
  isSigned: boolean | undefined;
1195
1342
  /**
1196
- * <p>Indicates the beginning of the CAN message.</p>
1343
+ * <p>Indicates the beginning of the CAN signal. This should always be the least significant bit (LSB).</p>
1344
+ * <p>This value might be different from the value in a DBC file. For little endian signals,
1345
+ * <code>startBit</code> is the same value as in the DBC file. For big endian signals
1346
+ * in a DBC file, the start bit is the most significant bit (MSB). You will have to
1347
+ * calculate the LSB instead and pass it as the <code>startBit</code>.</p>
1197
1348
  */
1198
1349
  startBit: number | undefined;
1199
1350
  /**
1200
- * <p>Indicates where data appears in the CAN message.</p>
1351
+ * <p>The offset used to calculate the signal value. Combined with factor, the calculation is <code>value = raw_value * factor + offset</code>.</p>
1201
1352
  */
1202
1353
  offset: number | undefined;
1203
1354
  /**
@@ -1339,7 +1490,7 @@ export interface ObdSignal {
1339
1490
  */
1340
1491
  scaling: number | undefined;
1341
1492
  /**
1342
- * <p>Indicates where data appears in the message.</p>
1493
+ * <p>The offset used to calculate the signal value. Combined with scaling, the calculation is <code>value = raw_value * scaling + offset</code>.</p>
1343
1494
  */
1344
1495
  offset: number | undefined;
1345
1496
  /**
@@ -1665,6 +1816,14 @@ export interface Sensor {
1665
1816
  * <p>The specified possible maximum value of the sensor.</p>
1666
1817
  */
1667
1818
  max?: number;
1819
+ /**
1820
+ * <p>The deprecation message for the node or the branch that was moved or deleted.</p>
1821
+ */
1822
+ deprecationMessage?: string;
1823
+ /**
1824
+ * <p>A comment in addition to the description.</p>
1825
+ */
1826
+ comment?: string;
1668
1827
  }
1669
1828
  /**
1670
1829
  * @public
@@ -1821,6 +1980,7 @@ export interface CreateVehicleRequest {
1821
1980
  * <p>Static information about a vehicle in a key-value pair. For example:
1822
1981
  * <code>"engineType"</code> : <code>"1.3 L R2"</code>
1823
1982
  * </p>
1983
+ * <p>A campaign must include the keys (attribute names) in <code>dataExtraDimensions</code> for them to display in Amazon Timestream.</p>
1824
1984
  */
1825
1985
  attributes?: Record<string, string>;
1826
1986
  /**
@@ -2476,7 +2636,8 @@ export interface ListVehiclesInFleetResponse {
2476
2636
  }
2477
2637
  /**
2478
2638
  * @public
2479
- * <p>Vehicle Signal Specification (VSS) is a precise language used to describe and model
2639
+ * <p>
2640
+ * <a href="https://www.w3.org/auto/wg/wiki/Vehicle_Signal_Specification_(VSS)/Vehicle_Data_Spec">Vehicle Signal Specification (VSS)</a> is a precise language used to describe and model
2480
2641
  * signals in vehicle networks. The JSON file collects signal specificiations in a VSS
2481
2642
  * format.</p>
2482
2643
  */
@@ -2665,7 +2826,7 @@ export interface GetRegisterAccountStatusResponse {
2665
2826
  /**
2666
2827
  * <p> Information about the registered Amazon Timestream resources or errors, if any.</p>
2667
2828
  */
2668
- timestreamRegistrationResponse: TimestreamRegistrationResponse | undefined;
2829
+ timestreamRegistrationResponse?: TimestreamRegistrationResponse;
2669
2830
  /**
2670
2831
  * <p> Information about the registered IAM resources or errors, if any. </p>
2671
2832
  */
@@ -3127,10 +3288,12 @@ export interface TimestreamResources {
3127
3288
  */
3128
3289
  export interface RegisterAccountRequest {
3129
3290
  /**
3291
+ * @deprecated
3292
+ *
3130
3293
  * <p>The registered Amazon Timestream resources that Amazon Web Services IoT FleetWise edge agent software can transfer
3131
3294
  * your vehicle data to.</p>
3132
3295
  */
3133
- timestreamResources: TimestreamResources | undefined;
3296
+ timestreamResources?: TimestreamResources;
3134
3297
  /**
3135
3298
  * @deprecated
3136
3299
  *
@@ -3151,7 +3314,7 @@ export interface RegisterAccountResponse {
3151
3314
  * <p>The registered Amazon Timestream resources that Amazon Web Services IoT FleetWise edge agent software can transfer
3152
3315
  * your vehicle data to.</p>
3153
3316
  */
3154
- timestreamResources: TimestreamResources | undefined;
3317
+ timestreamResources?: TimestreamResources;
3155
3318
  /**
3156
3319
  * <p> The registered IAM resource that allows Amazon Web Services IoT FleetWise to send data to Amazon Timestream. </p>
3157
3320
  */
@@ -25,7 +25,7 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  defaultSigningName: string;
26
26
  };
27
27
  export interface EndpointParameters extends __EndpointParameters {
28
- Region: string;
28
+ Region?: string;
29
29
  UseDualStack?: boolean;
30
30
  UseFIPS?: boolean;
31
31
  Endpoint?: string;
@@ -46,6 +46,8 @@ export interface Actuator {
46
46
  min?: number;
47
47
  max?: number;
48
48
  assignedValue?: string;
49
+ deprecationMessage?: string;
50
+ comment?: string;
49
51
  }
50
52
  export interface AssociateVehicleFleetRequest {
51
53
  vehicleName: string | undefined;
@@ -110,6 +112,8 @@ export interface Attribute {
110
112
  max?: number;
111
113
  assignedValue?: string;
112
114
  defaultValue?: string;
115
+ deprecationMessage?: string;
116
+ comment?: string;
113
117
  }
114
118
  export declare const VehicleAssociationBehavior: {
115
119
  readonly CREATE_IOT_THING: "CreateIotThing";
@@ -186,6 +190,8 @@ export interface BatchUpdateVehicleResponse {
186
190
  export interface Branch {
187
191
  fullyQualifiedName: string | undefined;
188
192
  description?: string;
193
+ deprecationMessage?: string;
194
+ comment?: string;
189
195
  }
190
196
  export declare class ConflictException extends __BaseException {
191
197
  readonly name: "ConflictException";
@@ -242,6 +248,54 @@ export declare const Compression: {
242
248
  readonly SNAPPY: "SNAPPY";
243
249
  };
244
250
  export type Compression = (typeof Compression)[keyof typeof Compression];
251
+ export declare const DataFormat: {
252
+ readonly JSON: "JSON";
253
+ readonly PARQUET: "PARQUET";
254
+ };
255
+ export type DataFormat = (typeof DataFormat)[keyof typeof DataFormat];
256
+ export declare const StorageCompressionFormat: {
257
+ readonly GZIP: "GZIP";
258
+ readonly NONE: "NONE";
259
+ };
260
+ export type StorageCompressionFormat =
261
+ (typeof StorageCompressionFormat)[keyof typeof StorageCompressionFormat];
262
+ export interface S3Config {
263
+ bucketArn: string | undefined;
264
+ dataFormat?: DataFormat | string;
265
+ storageCompressionFormat?: StorageCompressionFormat | string;
266
+ prefix?: string;
267
+ }
268
+ export interface TimestreamConfig {
269
+ timestreamTableArn: string | undefined;
270
+ executionRoleArn: string | undefined;
271
+ }
272
+ export type DataDestinationConfig =
273
+ | DataDestinationConfig.S3ConfigMember
274
+ | DataDestinationConfig.TimestreamConfigMember
275
+ | DataDestinationConfig.$UnknownMember;
276
+ export declare namespace DataDestinationConfig {
277
+ interface S3ConfigMember {
278
+ s3Config: S3Config;
279
+ timestreamConfig?: never;
280
+ $unknown?: never;
281
+ }
282
+ interface TimestreamConfigMember {
283
+ s3Config?: never;
284
+ timestreamConfig: TimestreamConfig;
285
+ $unknown?: never;
286
+ }
287
+ interface $UnknownMember {
288
+ s3Config?: never;
289
+ timestreamConfig?: never;
290
+ $unknown: [string, any];
291
+ }
292
+ interface Visitor<T> {
293
+ s3Config: (value: S3Config) => T;
294
+ timestreamConfig: (value: TimestreamConfig) => T;
295
+ _: (name: string, value: any) => T;
296
+ }
297
+ const visit: <T>(value: DataDestinationConfig, visitor: Visitor<T>) => T;
298
+ }
245
299
  export declare const DiagnosticsMode: {
246
300
  readonly OFF: "OFF";
247
301
  readonly SEND_ACTIVE_DTCS: "SEND_ACTIVE_DTCS";
@@ -274,6 +328,7 @@ export interface CreateCampaignRequest {
274
328
  collectionScheme: CollectionScheme | undefined;
275
329
  dataExtraDimensions?: string[];
276
330
  tags?: Tag[];
331
+ dataDestinationConfigs?: DataDestinationConfig[];
277
332
  }
278
333
  export interface CreateCampaignResponse {
279
334
  name?: string;
@@ -316,6 +371,7 @@ export interface GetCampaignResponse {
316
371
  dataExtraDimensions?: string[];
317
372
  creationTime?: Date;
318
373
  lastModificationTime?: Date;
374
+ dataDestinationConfigs?: DataDestinationConfig[];
319
375
  }
320
376
  export interface ListCampaignsRequest {
321
377
  nextToken?: string;
@@ -525,6 +581,8 @@ export interface Sensor {
525
581
  allowedValues?: string[];
526
582
  min?: number;
527
583
  max?: number;
584
+ deprecationMessage?: string;
585
+ comment?: string;
528
586
  }
529
587
  export type Node =
530
588
  | Node.ActuatorMember
@@ -855,7 +913,7 @@ export interface TimestreamRegistrationResponse {
855
913
  export interface GetRegisterAccountStatusResponse {
856
914
  customerAccountId: string | undefined;
857
915
  accountStatus: RegistrationStatus | string | undefined;
858
- timestreamRegistrationResponse: TimestreamRegistrationResponse | undefined;
916
+ timestreamRegistrationResponse?: TimestreamRegistrationResponse;
859
917
  iamRegistrationResponse: IamRegistrationResponse | undefined;
860
918
  creationTime: Date | undefined;
861
919
  lastModificationTime: Date | undefined;
@@ -978,12 +1036,12 @@ export interface TimestreamResources {
978
1036
  timestreamTableName: string | undefined;
979
1037
  }
980
1038
  export interface RegisterAccountRequest {
981
- timestreamResources: TimestreamResources | undefined;
1039
+ timestreamResources?: TimestreamResources;
982
1040
  iamResources?: IamResources;
983
1041
  }
984
1042
  export interface RegisterAccountResponse {
985
1043
  registerAccountStatus: RegistrationStatus | string | undefined;
986
- timestreamResources: TimestreamResources | undefined;
1044
+ timestreamResources?: TimestreamResources;
987
1045
  iamResources: IamResources | undefined;
988
1046
  creationTime: Date | undefined;
989
1047
  lastModificationTime: Date | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotfleetwise",
3
3
  "description": "AWS SDK for JavaScript Iotfleetwise Client for Node.js, Browser and React Native",
4
- "version": "3.341.0",
4
+ "version": "3.342.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,36 +21,36 @@
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.341.0",
25
- "@aws-sdk/config-resolver": "3.341.0",
26
- "@aws-sdk/credential-provider-node": "3.341.0",
27
- "@aws-sdk/fetch-http-handler": "3.341.0",
28
- "@aws-sdk/hash-node": "3.341.0",
29
- "@aws-sdk/invalid-dependency": "3.341.0",
30
- "@aws-sdk/middleware-content-length": "3.341.0",
31
- "@aws-sdk/middleware-endpoint": "3.341.0",
32
- "@aws-sdk/middleware-host-header": "3.341.0",
33
- "@aws-sdk/middleware-logger": "3.341.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.341.0",
35
- "@aws-sdk/middleware-retry": "3.341.0",
36
- "@aws-sdk/middleware-serde": "3.341.0",
37
- "@aws-sdk/middleware-signing": "3.341.0",
38
- "@aws-sdk/middleware-stack": "3.341.0",
39
- "@aws-sdk/middleware-user-agent": "3.341.0",
40
- "@aws-sdk/node-config-provider": "3.341.0",
41
- "@aws-sdk/node-http-handler": "3.341.0",
42
- "@aws-sdk/smithy-client": "3.341.0",
43
- "@aws-sdk/types": "3.341.0",
44
- "@aws-sdk/url-parser": "3.341.0",
24
+ "@aws-sdk/client-sts": "3.342.0",
25
+ "@aws-sdk/config-resolver": "3.342.0",
26
+ "@aws-sdk/credential-provider-node": "3.342.0",
27
+ "@aws-sdk/fetch-http-handler": "3.342.0",
28
+ "@aws-sdk/hash-node": "3.342.0",
29
+ "@aws-sdk/invalid-dependency": "3.342.0",
30
+ "@aws-sdk/middleware-content-length": "3.342.0",
31
+ "@aws-sdk/middleware-endpoint": "3.342.0",
32
+ "@aws-sdk/middleware-host-header": "3.342.0",
33
+ "@aws-sdk/middleware-logger": "3.342.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.342.0",
35
+ "@aws-sdk/middleware-retry": "3.342.0",
36
+ "@aws-sdk/middleware-serde": "3.342.0",
37
+ "@aws-sdk/middleware-signing": "3.342.0",
38
+ "@aws-sdk/middleware-stack": "3.342.0",
39
+ "@aws-sdk/middleware-user-agent": "3.342.0",
40
+ "@aws-sdk/node-config-provider": "3.342.0",
41
+ "@aws-sdk/node-http-handler": "3.342.0",
42
+ "@aws-sdk/smithy-client": "3.342.0",
43
+ "@aws-sdk/types": "3.342.0",
44
+ "@aws-sdk/url-parser": "3.342.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.341.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.341.0",
50
- "@aws-sdk/util-endpoints": "3.341.0",
51
- "@aws-sdk/util-retry": "3.341.0",
52
- "@aws-sdk/util-user-agent-browser": "3.341.0",
53
- "@aws-sdk/util-user-agent-node": "3.341.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.342.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.342.0",
50
+ "@aws-sdk/util-endpoints": "3.342.0",
51
+ "@aws-sdk/util-retry": "3.342.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.342.0",
53
+ "@aws-sdk/util-user-agent-node": "3.342.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",