@aws-sdk/client-iotsitewise 3.43.0 → 3.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/models/models_0.js +8 -2
- package/dist-cjs/protocols/Aws_restJson1.js +24 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +21 -1
- package/dist-types/models/models_0.d.ts +58 -10
- package/dist-types/ts3.4/models/models_0.d.ts +17 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2021/11/30 ([#3077](https://github.com/aws/aws-sdk-js-v3/issues/3077)) ([2bdba30](https://github.com/aws/aws-sdk-js-v3/commit/2bdba30963e550728ba2903d57daa1e666a29d71))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ErrorDetails = exports.DetailedError = exports.DetailedErrorCode = exports.ErrorCode = exports.AssetModelState = exports.AssetModelHierarchyDefinition = exports.AssetModelHierarchy = exports.AssetModelCompositeModelDefinition = exports.AssetModelPropertyDefinition = exports.AssetModelCompositeModel = exports.AssetModelProperty = exports.PropertyType = exports.Transform = exports.TransformProcessingConfig = exports.Metric = exports.MetricWindow = exports.TumblingWindow = exports.ExpressionVariable = exports.VariableValue = exports.MetricProcessingConfig = exports.ComputeLocation = exports.Measurement = exports.MeasurementProcessingConfig = exports.ForwardingConfig = exports.ForwardingConfigState = exports.Attribute = exports.AssetHierarchyInfo = exports.AssetHierarchy = exports.AssetErrorDetails = exports.AssetErrorCode = exports.AssetCompositeModel = exports.AssetProperty = exports.PropertyNotification = exports.PropertyNotificationState = exports.PropertyDataType = exports.Alarms = exports.AggregateType = exports.AggregatedValue = exports.Aggregates = exports.Quality = exports.AccessPolicySummary = exports.Resource = exports.ProjectResource = exports.PortalResource = exports.Permission = exports.Identity = exports.UserIdentity = exports.IAMUserIdentity = exports.IAMRoleIdentity = exports.GroupIdentity = void 0;
|
|
4
4
|
exports.MonitorErrorDetails = exports.MonitorErrorCode = exports.CreatePortalRequest = exports.ImageFile = exports.ImageFileType = exports.CreateGatewayResponse = exports.CreateGatewayRequest = exports.GatewayPlatform = exports.GreengrassV2 = exports.Greengrass = exports.CreateDashboardResponse = exports.CreateDashboardRequest = exports.CreateAssetModelResponse = exports.CreateAssetModelRequest = exports.ResourceAlreadyExistsException = exports.CreateAssetResponse = exports.CreateAssetRequest = exports.CreateAccessPolicyResponse = exports.CreateAccessPolicyRequest = exports.ServiceUnavailableException = exports.BatchPutAssetPropertyValueResponse = exports.BatchPutAssetPropertyErrorEntry = exports.BatchPutAssetPropertyError = exports.BatchPutAssetPropertyValueErrorCode = exports.BatchPutAssetPropertyValueRequest = exports.PutAssetPropertyValueEntry = exports.BatchDisassociateProjectAssetsResponse = exports.BatchDisassociateProjectAssetsRequest = exports.BatchAssociateProjectAssetsResponse = exports.BatchAssociateProjectAssetsRequest = exports.AuthMode = exports.AssociateTimeSeriesToAssetPropertyRequest = exports.AssociatedAssetsSummary = exports.ThrottlingException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InvalidRequestException = exports.InternalFailureException = exports.ConflictingOperationException = exports.AssociateAssetsRequest = exports.AssetSummary = exports.AssetStatus = exports.AssetState = exports.AssetRelationshipSummary = exports.AssetRelationshipType = exports.AssetPropertyValue = exports.Variant = exports.TimeInNanos = exports.AssetModelSummary = exports.AssetModelStatus = void 0;
|
|
5
5
|
exports.DescribePortalResponse = exports.ImageLocation = exports.DescribePortalRequest = exports.DescribeLoggingOptionsResponse = exports.LoggingOptions = exports.LoggingLevel = exports.DescribeLoggingOptionsRequest = exports.DescribeGatewayCapabilityConfigurationResponse = exports.DescribeGatewayCapabilityConfigurationRequest = exports.DescribeGatewayResponse = exports.GatewayCapabilitySummary = exports.CapabilitySyncStatus = exports.DescribeGatewayRequest = exports.DescribeDefaultEncryptionConfigurationResponse = exports.EncryptionType = exports.ConfigurationStatus = exports.ConfigurationState = exports.ConfigurationErrorDetails = exports.DescribeDefaultEncryptionConfigurationRequest = exports.DescribeDashboardResponse = exports.DescribeDashboardRequest = exports.DescribeAssetPropertyResponse = exports.CompositeModelProperty = exports.Property = exports.DescribeAssetPropertyRequest = exports.DescribeAssetModelResponse = exports.DescribeAssetModelRequest = exports.DescribeAssetResponse = exports.DescribeAssetRequest = exports.DescribeAccessPolicyResponse = exports.DescribeAccessPolicyRequest = exports.DeleteTimeSeriesRequest = exports.DeleteProjectResponse = exports.DeleteProjectRequest = exports.DeletePortalResponse = exports.DeletePortalRequest = exports.DeleteGatewayRequest = exports.DeleteDashboardResponse = exports.DeleteDashboardRequest = exports.DeleteAssetModelResponse = exports.DeleteAssetModelRequest = exports.DeleteAssetResponse = exports.DeleteAssetRequest = exports.DeleteAccessPolicyResponse = exports.DeleteAccessPolicyRequest = exports.CreateProjectResponse = exports.CreateProjectRequest = exports.CreatePortalResponse = exports.PortalStatus = exports.PortalState = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateProjectResponse = exports.UpdateProjectRequest = exports.UpdatePortalResponse = exports.UpdatePortalRequest = exports.Image = exports.UpdateGatewayCapabilityConfigurationResponse = exports.UpdateGatewayCapabilityConfigurationRequest = exports.UpdateGatewayRequest = exports.UpdateDashboardResponse = exports.UpdateDashboardRequest = exports.UpdateAssetPropertyRequest = exports.UpdateAssetModelResponse = exports.UpdateAssetModelRequest = exports.UpdateAssetResponse = exports.UpdateAssetRequest = exports.UpdateAccessPolicyResponse = exports.UpdateAccessPolicyRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagsException = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutStorageConfigurationResponse = exports.PutStorageConfigurationRequest = exports.PutLoggingOptionsResponse = exports.PutLoggingOptionsRequest = exports.PutDefaultEncryptionConfigurationResponse = exports.PutDefaultEncryptionConfigurationRequest = exports.ListTimeSeriesResponse = exports.TimeSeriesSummary = exports.ListTimeSeriesRequest = exports.ListTimeSeriesType = exports.UnauthorizedException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListProjectsResponse = void 0;
|
|
6
|
+
exports.ListProjectsRequest = exports.ListProjectAssetsResponse = exports.ListProjectAssetsRequest = exports.ListPortalsResponse = exports.PortalSummary = exports.ListPortalsRequest = exports.ListGatewaysResponse = exports.GatewaySummary = exports.ListGatewaysRequest = exports.ListDashboardsResponse = exports.DashboardSummary = exports.ListDashboardsRequest = exports.ListAssociatedAssetsResponse = exports.ListAssociatedAssetsRequest = exports.TraversalDirection = exports.ListAssetsResponse = exports.ListAssetsRequest = exports.ListAssetsFilter = exports.ListAssetRelationshipsResponse = exports.ListAssetRelationshipsRequest = exports.TraversalType = exports.ListAssetModelsResponse = exports.ListAssetModelsRequest = exports.ListAccessPoliciesResponse = exports.ListAccessPoliciesRequest = exports.ResourceType = exports.IdentityType = exports.GetInterpolatedAssetPropertyValuesResponse = exports.InterpolatedAssetPropertyValue = exports.GetInterpolatedAssetPropertyValuesRequest = exports.GetAssetPropertyValueHistoryResponse = exports.GetAssetPropertyValueHistoryRequest = exports.GetAssetPropertyValueResponse = exports.GetAssetPropertyValueRequest = exports.GetAssetPropertyAggregatesResponse = exports.GetAssetPropertyAggregatesRequest = exports.TimeOrdering = exports.DisassociateTimeSeriesFromAssetPropertyRequest = exports.DisassociateAssetsRequest = exports.DescribeTimeSeriesResponse = exports.DescribeTimeSeriesRequest = exports.DescribeStorageConfigurationResponse = exports.StorageType = exports.RetentionPeriod = exports.MultiLayerStorage = exports.CustomerManagedS3Storage = exports.DisassociatedDataStorageState = exports.DescribeStorageConfigurationRequest = exports.DescribeProjectResponse = exports.DescribeProjectRequest = void 0;
|
|
7
|
+
exports.UpdateProjectResponse = exports.UpdateProjectRequest = exports.UpdatePortalResponse = exports.UpdatePortalRequest = exports.Image = exports.UpdateGatewayCapabilityConfigurationResponse = exports.UpdateGatewayCapabilityConfigurationRequest = exports.UpdateGatewayRequest = exports.UpdateDashboardResponse = exports.UpdateDashboardRequest = exports.UpdateAssetPropertyRequest = exports.UpdateAssetModelResponse = exports.UpdateAssetModelRequest = exports.UpdateAssetResponse = exports.UpdateAssetRequest = exports.UpdateAccessPolicyResponse = exports.UpdateAccessPolicyRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagsException = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutStorageConfigurationResponse = exports.PutStorageConfigurationRequest = exports.PutLoggingOptionsResponse = exports.PutLoggingOptionsRequest = exports.PutDefaultEncryptionConfigurationResponse = exports.PutDefaultEncryptionConfigurationRequest = exports.ListTimeSeriesResponse = exports.TimeSeriesSummary = exports.ListTimeSeriesRequest = exports.ListTimeSeriesType = exports.UnauthorizedException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListProjectsResponse = exports.ProjectSummary = void 0;
|
|
8
8
|
var GroupIdentity;
|
|
9
9
|
(function (GroupIdentity) {
|
|
10
10
|
GroupIdentity.filterSensitiveLog = (obj) => ({
|
|
@@ -945,6 +945,12 @@ var MultiLayerStorage;
|
|
|
945
945
|
...obj,
|
|
946
946
|
});
|
|
947
947
|
})(MultiLayerStorage = exports.MultiLayerStorage || (exports.MultiLayerStorage = {}));
|
|
948
|
+
var RetentionPeriod;
|
|
949
|
+
(function (RetentionPeriod) {
|
|
950
|
+
RetentionPeriod.filterSensitiveLog = (obj) => ({
|
|
951
|
+
...obj,
|
|
952
|
+
});
|
|
953
|
+
})(RetentionPeriod = exports.RetentionPeriod || (exports.RetentionPeriod = {}));
|
|
948
954
|
var StorageType;
|
|
949
955
|
(function (StorageType) {
|
|
950
956
|
StorageType["MULTI_LAYER_STORAGE"] = "MULTI_LAYER_STORAGE";
|
|
@@ -1854,6 +1854,10 @@ const serializeAws_restJson1PutStorageConfigurationCommand = async (input, conte
|
|
|
1854
1854
|
input.multiLayerStorage !== null && {
|
|
1855
1855
|
multiLayerStorage: serializeAws_restJson1MultiLayerStorage(input.multiLayerStorage, context),
|
|
1856
1856
|
}),
|
|
1857
|
+
...(input.retentionPeriod !== undefined &&
|
|
1858
|
+
input.retentionPeriod !== null && {
|
|
1859
|
+
retentionPeriod: serializeAws_restJson1RetentionPeriod(input.retentionPeriod, context),
|
|
1860
|
+
}),
|
|
1857
1861
|
...(input.storageType !== undefined && input.storageType !== null && { storageType: input.storageType }),
|
|
1858
1862
|
});
|
|
1859
1863
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -5042,6 +5046,7 @@ const deserializeAws_restJson1DescribeStorageConfigurationCommand = async (outpu
|
|
|
5042
5046
|
disassociatedDataStorage: undefined,
|
|
5043
5047
|
lastUpdateDate: undefined,
|
|
5044
5048
|
multiLayerStorage: undefined,
|
|
5049
|
+
retentionPeriod: undefined,
|
|
5045
5050
|
storageType: undefined,
|
|
5046
5051
|
};
|
|
5047
5052
|
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
@@ -5057,6 +5062,9 @@ const deserializeAws_restJson1DescribeStorageConfigurationCommand = async (outpu
|
|
|
5057
5062
|
if (data.multiLayerStorage !== undefined && data.multiLayerStorage !== null) {
|
|
5058
5063
|
contents.multiLayerStorage = deserializeAws_restJson1MultiLayerStorage(data.multiLayerStorage, context);
|
|
5059
5064
|
}
|
|
5065
|
+
if (data.retentionPeriod !== undefined && data.retentionPeriod !== null) {
|
|
5066
|
+
contents.retentionPeriod = deserializeAws_restJson1RetentionPeriod(data.retentionPeriod, context);
|
|
5067
|
+
}
|
|
5060
5068
|
if (data.storageType !== undefined && data.storageType !== null) {
|
|
5061
5069
|
contents.storageType = smithy_client_1.expectString(data.storageType);
|
|
5062
5070
|
}
|
|
@@ -6769,6 +6777,7 @@ const deserializeAws_restJson1PutStorageConfigurationCommand = async (output, co
|
|
|
6769
6777
|
configurationStatus: undefined,
|
|
6770
6778
|
disassociatedDataStorage: undefined,
|
|
6771
6779
|
multiLayerStorage: undefined,
|
|
6780
|
+
retentionPeriod: undefined,
|
|
6772
6781
|
storageType: undefined,
|
|
6773
6782
|
};
|
|
6774
6783
|
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
@@ -6781,6 +6790,9 @@ const deserializeAws_restJson1PutStorageConfigurationCommand = async (output, co
|
|
|
6781
6790
|
if (data.multiLayerStorage !== undefined && data.multiLayerStorage !== null) {
|
|
6782
6791
|
contents.multiLayerStorage = deserializeAws_restJson1MultiLayerStorage(data.multiLayerStorage, context);
|
|
6783
6792
|
}
|
|
6793
|
+
if (data.retentionPeriod !== undefined && data.retentionPeriod !== null) {
|
|
6794
|
+
contents.retentionPeriod = deserializeAws_restJson1RetentionPeriod(data.retentionPeriod, context);
|
|
6795
|
+
}
|
|
6784
6796
|
if (data.storageType !== undefined && data.storageType !== null) {
|
|
6785
6797
|
contents.storageType = smithy_client_1.expectString(data.storageType);
|
|
6786
6798
|
}
|
|
@@ -8274,6 +8286,12 @@ const serializeAws_restJson1Resource = (input, context) => {
|
|
|
8274
8286
|
input.project !== null && { project: serializeAws_restJson1ProjectResource(input.project, context) }),
|
|
8275
8287
|
};
|
|
8276
8288
|
};
|
|
8289
|
+
const serializeAws_restJson1RetentionPeriod = (input, context) => {
|
|
8290
|
+
return {
|
|
8291
|
+
...(input.numberOfDays !== undefined && input.numberOfDays !== null && { numberOfDays: input.numberOfDays }),
|
|
8292
|
+
...(input.unlimited !== undefined && input.unlimited !== null && { unlimited: input.unlimited }),
|
|
8293
|
+
};
|
|
8294
|
+
};
|
|
8277
8295
|
const serializeAws_restJson1TagMap = (input, context) => {
|
|
8278
8296
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
8279
8297
|
if (value === null) {
|
|
@@ -9143,6 +9161,12 @@ const deserializeAws_restJson1Resource = (output, context) => {
|
|
|
9143
9161
|
: undefined,
|
|
9144
9162
|
};
|
|
9145
9163
|
};
|
|
9164
|
+
const deserializeAws_restJson1RetentionPeriod = (output, context) => {
|
|
9165
|
+
return {
|
|
9166
|
+
numberOfDays: smithy_client_1.expectInt32(output.numberOfDays),
|
|
9167
|
+
unlimited: smithy_client_1.expectBoolean(output.unlimited),
|
|
9168
|
+
};
|
|
9169
|
+
};
|
|
9146
9170
|
const deserializeAws_restJson1TagMap = (output, context) => {
|
|
9147
9171
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
9148
9172
|
if (value === null) {
|
|
@@ -673,6 +673,10 @@ export var MultiLayerStorage;
|
|
|
673
673
|
(function (MultiLayerStorage) {
|
|
674
674
|
MultiLayerStorage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
675
675
|
})(MultiLayerStorage || (MultiLayerStorage = {}));
|
|
676
|
+
export var RetentionPeriod;
|
|
677
|
+
(function (RetentionPeriod) {
|
|
678
|
+
RetentionPeriod.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
679
|
+
})(RetentionPeriod || (RetentionPeriod = {}));
|
|
676
680
|
export var StorageType;
|
|
677
681
|
(function (StorageType) {
|
|
678
682
|
StorageType["MULTI_LAYER_STORAGE"] = "MULTI_LAYER_STORAGE";
|
|
@@ -2032,10 +2032,13 @@ export var serializeAws_restJson1PutStorageConfigurationCommand = function (inpu
|
|
|
2032
2032
|
"content-type": "application/json",
|
|
2033
2033
|
};
|
|
2034
2034
|
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/configuration/account/storage";
|
|
2035
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.disassociatedDataStorage !== undefined &&
|
|
2035
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.disassociatedDataStorage !== undefined &&
|
|
2036
2036
|
input.disassociatedDataStorage !== null && { disassociatedDataStorage: input.disassociatedDataStorage })), (input.multiLayerStorage !== undefined &&
|
|
2037
2037
|
input.multiLayerStorage !== null && {
|
|
2038
2038
|
multiLayerStorage: serializeAws_restJson1MultiLayerStorage(input.multiLayerStorage, context),
|
|
2039
|
+
})), (input.retentionPeriod !== undefined &&
|
|
2040
|
+
input.retentionPeriod !== null && {
|
|
2041
|
+
retentionPeriod: serializeAws_restJson1RetentionPeriod(input.retentionPeriod, context),
|
|
2039
2042
|
})), (input.storageType !== undefined && input.storageType !== null && { storageType: input.storageType })));
|
|
2040
2043
|
return [4, context.endpoint()];
|
|
2041
2044
|
case 2:
|
|
@@ -5678,6 +5681,7 @@ export var deserializeAws_restJson1DescribeStorageConfigurationCommand = functio
|
|
|
5678
5681
|
disassociatedDataStorage: undefined,
|
|
5679
5682
|
lastUpdateDate: undefined,
|
|
5680
5683
|
multiLayerStorage: undefined,
|
|
5684
|
+
retentionPeriod: undefined,
|
|
5681
5685
|
storageType: undefined,
|
|
5682
5686
|
};
|
|
5683
5687
|
_a = __expectNonNull;
|
|
@@ -5697,6 +5701,9 @@ export var deserializeAws_restJson1DescribeStorageConfigurationCommand = functio
|
|
|
5697
5701
|
if (data.multiLayerStorage !== undefined && data.multiLayerStorage !== null) {
|
|
5698
5702
|
contents.multiLayerStorage = deserializeAws_restJson1MultiLayerStorage(data.multiLayerStorage, context);
|
|
5699
5703
|
}
|
|
5704
|
+
if (data.retentionPeriod !== undefined && data.retentionPeriod !== null) {
|
|
5705
|
+
contents.retentionPeriod = deserializeAws_restJson1RetentionPeriod(data.retentionPeriod, context);
|
|
5706
|
+
}
|
|
5700
5707
|
if (data.storageType !== undefined && data.storageType !== null) {
|
|
5701
5708
|
contents.storageType = __expectString(data.storageType);
|
|
5702
5709
|
}
|
|
@@ -7707,6 +7714,7 @@ export var deserializeAws_restJson1PutStorageConfigurationCommand = function (ou
|
|
|
7707
7714
|
configurationStatus: undefined,
|
|
7708
7715
|
disassociatedDataStorage: undefined,
|
|
7709
7716
|
multiLayerStorage: undefined,
|
|
7717
|
+
retentionPeriod: undefined,
|
|
7710
7718
|
storageType: undefined,
|
|
7711
7719
|
};
|
|
7712
7720
|
_a = __expectNonNull;
|
|
@@ -7723,6 +7731,9 @@ export var deserializeAws_restJson1PutStorageConfigurationCommand = function (ou
|
|
|
7723
7731
|
if (data.multiLayerStorage !== undefined && data.multiLayerStorage !== null) {
|
|
7724
7732
|
contents.multiLayerStorage = deserializeAws_restJson1MultiLayerStorage(data.multiLayerStorage, context);
|
|
7725
7733
|
}
|
|
7734
|
+
if (data.retentionPeriod !== undefined && data.retentionPeriod !== null) {
|
|
7735
|
+
contents.retentionPeriod = deserializeAws_restJson1RetentionPeriod(data.retentionPeriod, context);
|
|
7736
|
+
}
|
|
7726
7737
|
if (data.storageType !== undefined && data.storageType !== null) {
|
|
7727
7738
|
contents.storageType = __expectString(data.storageType);
|
|
7728
7739
|
}
|
|
@@ -9286,6 +9297,9 @@ var serializeAws_restJson1Resource = function (input, context) {
|
|
|
9286
9297
|
input.portal !== null && { portal: serializeAws_restJson1PortalResource(input.portal, context) })), (input.project !== undefined &&
|
|
9287
9298
|
input.project !== null && { project: serializeAws_restJson1ProjectResource(input.project, context) }));
|
|
9288
9299
|
};
|
|
9300
|
+
var serializeAws_restJson1RetentionPeriod = function (input, context) {
|
|
9301
|
+
return __assign(__assign({}, (input.numberOfDays !== undefined && input.numberOfDays !== null && { numberOfDays: input.numberOfDays })), (input.unlimited !== undefined && input.unlimited !== null && { unlimited: input.unlimited }));
|
|
9302
|
+
};
|
|
9289
9303
|
var serializeAws_restJson1TagMap = function (input, context) {
|
|
9290
9304
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
9291
9305
|
var _b;
|
|
@@ -10131,6 +10145,12 @@ var deserializeAws_restJson1Resource = function (output, context) {
|
|
|
10131
10145
|
: undefined,
|
|
10132
10146
|
};
|
|
10133
10147
|
};
|
|
10148
|
+
var deserializeAws_restJson1RetentionPeriod = function (output, context) {
|
|
10149
|
+
return {
|
|
10150
|
+
numberOfDays: __expectInt32(output.numberOfDays),
|
|
10151
|
+
unlimited: __expectBoolean(output.unlimited),
|
|
10152
|
+
};
|
|
10153
|
+
};
|
|
10134
10154
|
var deserializeAws_restJson1TagMap = function (output, context) {
|
|
10135
10155
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
10136
10156
|
var _b;
|
|
@@ -2135,7 +2135,7 @@ export interface CreatePortalRequest {
|
|
|
2135
2135
|
* <li>
|
|
2136
2136
|
* <p>
|
|
2137
2137
|
* <code>IAM</code> – The portal uses Identity and Access Management to authenticate users and manage
|
|
2138
|
-
* user permissions
|
|
2138
|
+
* user permissions.</p>
|
|
2139
2139
|
* </li>
|
|
2140
2140
|
* </ul>
|
|
2141
2141
|
* <p>You can't change this value after you create a portal.</p>
|
|
@@ -3331,21 +3331,51 @@ export declare namespace MultiLayerStorage {
|
|
|
3331
3331
|
*/
|
|
3332
3332
|
const filterSensitiveLog: (obj: MultiLayerStorage) => any;
|
|
3333
3333
|
}
|
|
3334
|
+
/**
|
|
3335
|
+
* <p>How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.</p>
|
|
3336
|
+
*/
|
|
3337
|
+
export interface RetentionPeriod {
|
|
3338
|
+
/**
|
|
3339
|
+
* <p>The number of days that your data is kept.</p>
|
|
3340
|
+
* <note>
|
|
3341
|
+
* <p>If you specified a value for this parameter, the <code>unlimited</code> parameter must
|
|
3342
|
+
* be <code>false</code>.</p>
|
|
3343
|
+
* </note>
|
|
3344
|
+
*/
|
|
3345
|
+
numberOfDays?: number;
|
|
3346
|
+
/**
|
|
3347
|
+
* <p>If true, your data is kept indefinitely.</p>
|
|
3348
|
+
* <note>
|
|
3349
|
+
* <p>If configured to <code>true</code>, you must not specify a value for the
|
|
3350
|
+
* <code>numberOfDays</code> parameter.</p>
|
|
3351
|
+
* </note>
|
|
3352
|
+
*/
|
|
3353
|
+
unlimited?: boolean;
|
|
3354
|
+
}
|
|
3355
|
+
export declare namespace RetentionPeriod {
|
|
3356
|
+
/**
|
|
3357
|
+
* @internal
|
|
3358
|
+
*/
|
|
3359
|
+
const filterSensitiveLog: (obj: RetentionPeriod) => any;
|
|
3360
|
+
}
|
|
3334
3361
|
export declare enum StorageType {
|
|
3335
3362
|
MULTI_LAYER_STORAGE = "MULTI_LAYER_STORAGE",
|
|
3336
3363
|
SITEWISE_DEFAULT_STORAGE = "SITEWISE_DEFAULT_STORAGE"
|
|
3337
3364
|
}
|
|
3338
3365
|
export interface DescribeStorageConfigurationResponse {
|
|
3339
3366
|
/**
|
|
3340
|
-
* <p>The
|
|
3367
|
+
* <p>The storage tier that you specified for your data.
|
|
3368
|
+
* The <code>storageType</code> parameter can be one of the following values:</p>
|
|
3341
3369
|
* <ul>
|
|
3342
3370
|
* <li>
|
|
3343
3371
|
* <p>
|
|
3344
|
-
* <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise
|
|
3372
|
+
* <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise saves your data into the hot tier.
|
|
3373
|
+
* The hot tier is a service-managed database.</p>
|
|
3345
3374
|
* </li>
|
|
3346
3375
|
* <li>
|
|
3347
3376
|
* <p>
|
|
3348
|
-
* <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise
|
|
3377
|
+
* <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the cold tier.
|
|
3378
|
+
* The cold tier is a customer-managed Amazon S3 bucket.</p>
|
|
3349
3379
|
* </li>
|
|
3350
3380
|
* </ul>
|
|
3351
3381
|
*/
|
|
@@ -3374,6 +3404,10 @@ export interface DescribeStorageConfigurationResponse {
|
|
|
3374
3404
|
* in the <i>IoT SiteWise User Guide</i>.</p>
|
|
3375
3405
|
*/
|
|
3376
3406
|
disassociatedDataStorage?: DisassociatedDataStorageState | string;
|
|
3407
|
+
/**
|
|
3408
|
+
* <p>How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.</p>
|
|
3409
|
+
*/
|
|
3410
|
+
retentionPeriod?: RetentionPeriod;
|
|
3377
3411
|
/**
|
|
3378
3412
|
* <p>Contains current status information for the configuration.</p>
|
|
3379
3413
|
*/
|
|
@@ -4652,15 +4686,18 @@ export declare namespace PutLoggingOptionsResponse {
|
|
|
4652
4686
|
}
|
|
4653
4687
|
export interface PutStorageConfigurationRequest {
|
|
4654
4688
|
/**
|
|
4655
|
-
* <p>The
|
|
4689
|
+
* <p>The storage tier that you specified for your data.
|
|
4690
|
+
* The <code>storageType</code> parameter can be one of the following values:</p>
|
|
4656
4691
|
* <ul>
|
|
4657
4692
|
* <li>
|
|
4658
4693
|
* <p>
|
|
4659
|
-
* <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise
|
|
4694
|
+
* <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise saves your data into the hot tier.
|
|
4695
|
+
* The hot tier is a service-managed database.</p>
|
|
4660
4696
|
* </li>
|
|
4661
4697
|
* <li>
|
|
4662
4698
|
* <p>
|
|
4663
|
-
* <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise
|
|
4699
|
+
* <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the cold tier.
|
|
4700
|
+
* The cold tier is a customer-managed Amazon S3 bucket.</p>
|
|
4664
4701
|
* </li>
|
|
4665
4702
|
* </ul>
|
|
4666
4703
|
*/
|
|
@@ -4690,6 +4727,10 @@ export interface PutStorageConfigurationRequest {
|
|
|
4690
4727
|
* in the <i>IoT SiteWise User Guide</i>.</p>
|
|
4691
4728
|
*/
|
|
4692
4729
|
disassociatedDataStorage?: DisassociatedDataStorageState | string;
|
|
4730
|
+
/**
|
|
4731
|
+
* <p>How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.</p>
|
|
4732
|
+
*/
|
|
4733
|
+
retentionPeriod?: RetentionPeriod;
|
|
4693
4734
|
}
|
|
4694
4735
|
export declare namespace PutStorageConfigurationRequest {
|
|
4695
4736
|
/**
|
|
@@ -4699,15 +4740,18 @@ export declare namespace PutStorageConfigurationRequest {
|
|
|
4699
4740
|
}
|
|
4700
4741
|
export interface PutStorageConfigurationResponse {
|
|
4701
4742
|
/**
|
|
4702
|
-
* <p>The
|
|
4743
|
+
* <p>The storage tier that you specified for your data.
|
|
4744
|
+
* The <code>storageType</code> parameter can be one of the following values:</p>
|
|
4703
4745
|
* <ul>
|
|
4704
4746
|
* <li>
|
|
4705
4747
|
* <p>
|
|
4706
|
-
* <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise
|
|
4748
|
+
* <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise saves your data into the hot tier.
|
|
4749
|
+
* The hot tier is a service-managed database.</p>
|
|
4707
4750
|
* </li>
|
|
4708
4751
|
* <li>
|
|
4709
4752
|
* <p>
|
|
4710
|
-
* <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise
|
|
4753
|
+
* <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the cold tier.
|
|
4754
|
+
* The cold tier is a customer-managed Amazon S3 bucket.</p>
|
|
4711
4755
|
* </li>
|
|
4712
4756
|
* </ul>
|
|
4713
4757
|
*/
|
|
@@ -4736,6 +4780,10 @@ export interface PutStorageConfigurationResponse {
|
|
|
4736
4780
|
* in the <i>IoT SiteWise User Guide</i>.</p>
|
|
4737
4781
|
*/
|
|
4738
4782
|
disassociatedDataStorage?: DisassociatedDataStorageState | string;
|
|
4783
|
+
/**
|
|
4784
|
+
* <p>How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.</p>
|
|
4785
|
+
*/
|
|
4786
|
+
retentionPeriod?: RetentionPeriod;
|
|
4739
4787
|
/**
|
|
4740
4788
|
* <p>Contains current status information for the configuration.</p>
|
|
4741
4789
|
*/
|
|
@@ -1772,6 +1772,17 @@ export declare namespace MultiLayerStorage {
|
|
|
1772
1772
|
|
|
1773
1773
|
const filterSensitiveLog: (obj: MultiLayerStorage) => any;
|
|
1774
1774
|
}
|
|
1775
|
+
|
|
1776
|
+
export interface RetentionPeriod {
|
|
1777
|
+
|
|
1778
|
+
numberOfDays?: number;
|
|
1779
|
+
|
|
1780
|
+
unlimited?: boolean;
|
|
1781
|
+
}
|
|
1782
|
+
export declare namespace RetentionPeriod {
|
|
1783
|
+
|
|
1784
|
+
const filterSensitiveLog: (obj: RetentionPeriod) => any;
|
|
1785
|
+
}
|
|
1775
1786
|
export declare enum StorageType {
|
|
1776
1787
|
MULTI_LAYER_STORAGE = "MULTI_LAYER_STORAGE",
|
|
1777
1788
|
SITEWISE_DEFAULT_STORAGE = "SITEWISE_DEFAULT_STORAGE"
|
|
@@ -1784,6 +1795,8 @@ export interface DescribeStorageConfigurationResponse {
|
|
|
1784
1795
|
|
|
1785
1796
|
disassociatedDataStorage?: DisassociatedDataStorageState | string;
|
|
1786
1797
|
|
|
1798
|
+
retentionPeriod?: RetentionPeriod;
|
|
1799
|
+
|
|
1787
1800
|
configurationStatus: ConfigurationStatus | undefined;
|
|
1788
1801
|
|
|
1789
1802
|
lastUpdateDate?: Date;
|
|
@@ -2453,6 +2466,8 @@ export interface PutStorageConfigurationRequest {
|
|
|
2453
2466
|
multiLayerStorage?: MultiLayerStorage;
|
|
2454
2467
|
|
|
2455
2468
|
disassociatedDataStorage?: DisassociatedDataStorageState | string;
|
|
2469
|
+
|
|
2470
|
+
retentionPeriod?: RetentionPeriod;
|
|
2456
2471
|
}
|
|
2457
2472
|
export declare namespace PutStorageConfigurationRequest {
|
|
2458
2473
|
|
|
@@ -2466,6 +2481,8 @@ export interface PutStorageConfigurationResponse {
|
|
|
2466
2481
|
|
|
2467
2482
|
disassociatedDataStorage?: DisassociatedDataStorageState | string;
|
|
2468
2483
|
|
|
2484
|
+
retentionPeriod?: RetentionPeriod;
|
|
2485
|
+
|
|
2469
2486
|
configurationStatus: ConfigurationStatus | undefined;
|
|
2470
2487
|
}
|
|
2471
2488
|
export declare namespace PutStorageConfigurationResponse {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iotsitewise",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iotsitewise Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.44.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|