@aws-sdk/client-iotsitewise 3.43.0 → 3.47.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.
@@ -1351,12 +1351,6 @@ export interface ConflictingOperationException extends __SmithyException, $Metad
1351
1351
  */
1352
1352
  resourceArn: string | undefined;
1353
1353
  }
1354
- export declare namespace ConflictingOperationException {
1355
- /**
1356
- * @internal
1357
- */
1358
- const filterSensitiveLog: (obj: ConflictingOperationException) => any;
1359
- }
1360
1354
  /**
1361
1355
  * <p>IoT SiteWise can't process your request right now. Try again later.</p>
1362
1356
  */
@@ -1365,12 +1359,6 @@ export interface InternalFailureException extends __SmithyException, $MetadataBe
1365
1359
  $fault: "server";
1366
1360
  message: string | undefined;
1367
1361
  }
1368
- export declare namespace InternalFailureException {
1369
- /**
1370
- * @internal
1371
- */
1372
- const filterSensitiveLog: (obj: InternalFailureException) => any;
1373
- }
1374
1362
  /**
1375
1363
  * <p>The request isn't valid. This can occur if your request contains malformed JSON or
1376
1364
  * unsupported characters. Check your request and try again.</p>
@@ -1380,12 +1368,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
1380
1368
  $fault: "client";
1381
1369
  message: string | undefined;
1382
1370
  }
1383
- export declare namespace InvalidRequestException {
1384
- /**
1385
- * @internal
1386
- */
1387
- const filterSensitiveLog: (obj: InvalidRequestException) => any;
1388
- }
1389
1371
  /**
1390
1372
  * <p>You've reached the limit for a resource. For example, this can occur if you're trying to
1391
1373
  * associate more than the allowed number of child assets or attempting to create more than the
@@ -1397,12 +1379,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
1397
1379
  $fault: "client";
1398
1380
  message: string | undefined;
1399
1381
  }
1400
- export declare namespace LimitExceededException {
1401
- /**
1402
- * @internal
1403
- */
1404
- const filterSensitiveLog: (obj: LimitExceededException) => any;
1405
- }
1406
1382
  /**
1407
1383
  * <p>The requested resource can't be found.</p>
1408
1384
  */
@@ -1411,12 +1387,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
1411
1387
  $fault: "client";
1412
1388
  message: string | undefined;
1413
1389
  }
1414
- export declare namespace ResourceNotFoundException {
1415
- /**
1416
- * @internal
1417
- */
1418
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
1419
- }
1420
1390
  /**
1421
1391
  * <p>Your request exceeded a rate limit. For example, you might have exceeded the number of
1422
1392
  * IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so
@@ -1428,12 +1398,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
1428
1398
  $fault: "client";
1429
1399
  message: string | undefined;
1430
1400
  }
1431
- export declare namespace ThrottlingException {
1432
- /**
1433
- * @internal
1434
- */
1435
- const filterSensitiveLog: (obj: ThrottlingException) => any;
1436
- }
1437
1401
  /**
1438
1402
  * <p>Contains a summary of an associated asset.</p>
1439
1403
  */
@@ -1698,12 +1662,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
1698
1662
  $fault: "server";
1699
1663
  message: string | undefined;
1700
1664
  }
1701
- export declare namespace ServiceUnavailableException {
1702
- /**
1703
- * @internal
1704
- */
1705
- const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
1706
- }
1707
1665
  export interface CreateAccessPolicyRequest {
1708
1666
  /**
1709
1667
  * <p>The identity for this access policy. Choose an Amazon Web Services SSO user, an Amazon Web Services SSO group, or an IAM user.</p>
@@ -1824,12 +1782,6 @@ export interface ResourceAlreadyExistsException extends __SmithyException, $Meta
1824
1782
  */
1825
1783
  resourceArn: string | undefined;
1826
1784
  }
1827
- export declare namespace ResourceAlreadyExistsException {
1828
- /**
1829
- * @internal
1830
- */
1831
- const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
1832
- }
1833
1785
  export interface CreateAssetModelRequest {
1834
1786
  /**
1835
1787
  * <p>A unique, friendly name for the asset model.</p>
@@ -2135,7 +2087,7 @@ export interface CreatePortalRequest {
2135
2087
  * <li>
2136
2088
  * <p>
2137
2089
  * <code>IAM</code> – The portal uses Identity and Access Management to authenticate users and manage
2138
- * user permissions. This option is only available in the China Regions.</p>
2090
+ * user permissions.</p>
2139
2091
  * </li>
2140
2092
  * </ul>
2141
2093
  * <p>You can't change this value after you create a portal.</p>
@@ -3331,21 +3283,51 @@ export declare namespace MultiLayerStorage {
3331
3283
  */
3332
3284
  const filterSensitiveLog: (obj: MultiLayerStorage) => any;
3333
3285
  }
3286
+ /**
3287
+ * <p>How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.</p>
3288
+ */
3289
+ export interface RetentionPeriod {
3290
+ /**
3291
+ * <p>The number of days that your data is kept.</p>
3292
+ * <note>
3293
+ * <p>If you specified a value for this parameter, the <code>unlimited</code> parameter must
3294
+ * be <code>false</code>.</p>
3295
+ * </note>
3296
+ */
3297
+ numberOfDays?: number;
3298
+ /**
3299
+ * <p>If true, your data is kept indefinitely.</p>
3300
+ * <note>
3301
+ * <p>If configured to <code>true</code>, you must not specify a value for the
3302
+ * <code>numberOfDays</code> parameter.</p>
3303
+ * </note>
3304
+ */
3305
+ unlimited?: boolean;
3306
+ }
3307
+ export declare namespace RetentionPeriod {
3308
+ /**
3309
+ * @internal
3310
+ */
3311
+ const filterSensitiveLog: (obj: RetentionPeriod) => any;
3312
+ }
3334
3313
  export declare enum StorageType {
3335
3314
  MULTI_LAYER_STORAGE = "MULTI_LAYER_STORAGE",
3336
3315
  SITEWISE_DEFAULT_STORAGE = "SITEWISE_DEFAULT_STORAGE"
3337
3316
  }
3338
3317
  export interface DescribeStorageConfigurationResponse {
3339
3318
  /**
3340
- * <p>The type of storage that you specified for your data. The storage type can be one of the following values:</p>
3319
+ * <p>The storage tier that you specified for your data.
3320
+ * The <code>storageType</code> parameter can be one of the following values:</p>
3341
3321
  * <ul>
3342
3322
  * <li>
3343
3323
  * <p>
3344
- * <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise replicates your data into a service managed database.</p>
3324
+ * <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise saves your data into the hot tier.
3325
+ * The hot tier is a service-managed database.</p>
3345
3326
  * </li>
3346
3327
  * <li>
3347
3328
  * <p>
3348
- * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.</p>
3329
+ * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the cold tier.
3330
+ * The cold tier is a customer-managed Amazon S3 bucket.</p>
3349
3331
  * </li>
3350
3332
  * </ul>
3351
3333
  */
@@ -3374,6 +3356,10 @@ export interface DescribeStorageConfigurationResponse {
3374
3356
  * in the <i>IoT SiteWise User Guide</i>.</p>
3375
3357
  */
3376
3358
  disassociatedDataStorage?: DisassociatedDataStorageState | string;
3359
+ /**
3360
+ * <p>How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.</p>
3361
+ */
3362
+ retentionPeriod?: RetentionPeriod;
3377
3363
  /**
3378
3364
  * <p>Contains current status information for the configuration.</p>
3379
3365
  */
@@ -4475,12 +4461,6 @@ export interface UnauthorizedException extends __SmithyException, $MetadataBeare
4475
4461
  $fault: "client";
4476
4462
  message: string | undefined;
4477
4463
  }
4478
- export declare namespace UnauthorizedException {
4479
- /**
4480
- * @internal
4481
- */
4482
- const filterSensitiveLog: (obj: UnauthorizedException) => any;
4483
- }
4484
4464
  export declare enum ListTimeSeriesType {
4485
4465
  ASSOCIATED = "ASSOCIATED",
4486
4466
  DISASSOCIATED = "DISASSOCIATED"
@@ -4652,15 +4632,18 @@ export declare namespace PutLoggingOptionsResponse {
4652
4632
  }
4653
4633
  export interface PutStorageConfigurationRequest {
4654
4634
  /**
4655
- * <p>The type of storage that you specified for your data. The storage type can be one of the following values:</p>
4635
+ * <p>The storage tier that you specified for your data.
4636
+ * The <code>storageType</code> parameter can be one of the following values:</p>
4656
4637
  * <ul>
4657
4638
  * <li>
4658
4639
  * <p>
4659
- * <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise replicates your data into a service managed database.</p>
4640
+ * <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise saves your data into the hot tier.
4641
+ * The hot tier is a service-managed database.</p>
4660
4642
  * </li>
4661
4643
  * <li>
4662
4644
  * <p>
4663
- * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.</p>
4645
+ * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the cold tier.
4646
+ * The cold tier is a customer-managed Amazon S3 bucket.</p>
4664
4647
  * </li>
4665
4648
  * </ul>
4666
4649
  */
@@ -4690,6 +4673,10 @@ export interface PutStorageConfigurationRequest {
4690
4673
  * in the <i>IoT SiteWise User Guide</i>.</p>
4691
4674
  */
4692
4675
  disassociatedDataStorage?: DisassociatedDataStorageState | string;
4676
+ /**
4677
+ * <p>How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.</p>
4678
+ */
4679
+ retentionPeriod?: RetentionPeriod;
4693
4680
  }
4694
4681
  export declare namespace PutStorageConfigurationRequest {
4695
4682
  /**
@@ -4699,15 +4686,18 @@ export declare namespace PutStorageConfigurationRequest {
4699
4686
  }
4700
4687
  export interface PutStorageConfigurationResponse {
4701
4688
  /**
4702
- * <p>The type of storage that you specified for your data. The storage type can be one of the following values:</p>
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>
4703
4691
  * <ul>
4704
4692
  * <li>
4705
4693
  * <p>
4706
- * <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise replicates your data into a service managed database.</p>
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>
4707
4696
  * </li>
4708
4697
  * <li>
4709
4698
  * <p>
4710
- * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.</p>
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>
4711
4701
  * </li>
4712
4702
  * </ul>
4713
4703
  */
@@ -4736,6 +4726,10 @@ export interface PutStorageConfigurationResponse {
4736
4726
  * in the <i>IoT SiteWise User Guide</i>.</p>
4737
4727
  */
4738
4728
  disassociatedDataStorage?: DisassociatedDataStorageState | string;
4729
+ /**
4730
+ * <p>How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.</p>
4731
+ */
4732
+ retentionPeriod?: RetentionPeriod;
4739
4733
  /**
4740
4734
  * <p>Contains current status information for the configuration.</p>
4741
4735
  */
@@ -4789,12 +4783,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
4789
4783
  */
4790
4784
  resourceName?: string;
4791
4785
  }
4792
- export declare namespace TooManyTagsException {
4793
- /**
4794
- * @internal
4795
- */
4796
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
4797
- }
4798
4786
  export interface UntagResourceRequest {
4799
4787
  /**
4800
4788
  * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the resource to untag.</p>
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { IoTSiteWiseClientConfig } from "./IoTSiteWiseClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: IoTSiteWiseClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: IoTSiteWiseClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { IoTSiteWiseClientConfig } from "./IoTSiteWiseClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: IoTSiteWiseClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: IoTSiteWiseClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateAssetsCommandInput, AssociateAssetsCommandOutput } from "./commands/AssociateAssetsCommand";
10
10
  import { AssociateTimeSeriesToAssetPropertyCommandInput, AssociateTimeSeriesToAssetPropertyCommandOutput } from "./commands/AssociateTimeSeriesToAssetPropertyCommand";
@@ -116,6 +116,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
116
116
  regionInfoProvider?: RegionInfoProvider;
117
117
 
118
118
  defaultUserAgentProvider?: Provider<__UserAgent>;
119
+
120
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
119
121
  }
120
122
  declare type IoTSiteWiseClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
121
123
 
@@ -683,60 +683,36 @@ export interface ConflictingOperationException extends __SmithyException, $Metad
683
683
 
684
684
  resourceArn: string | undefined;
685
685
  }
686
- export declare namespace ConflictingOperationException {
687
-
688
- const filterSensitiveLog: (obj: ConflictingOperationException) => any;
689
- }
690
686
 
691
687
  export interface InternalFailureException extends __SmithyException, $MetadataBearer {
692
688
  name: "InternalFailureException";
693
689
  $fault: "server";
694
690
  message: string | undefined;
695
691
  }
696
- export declare namespace InternalFailureException {
697
-
698
- const filterSensitiveLog: (obj: InternalFailureException) => any;
699
- }
700
692
 
701
693
  export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
702
694
  name: "InvalidRequestException";
703
695
  $fault: "client";
704
696
  message: string | undefined;
705
697
  }
706
- export declare namespace InvalidRequestException {
707
-
708
- const filterSensitiveLog: (obj: InvalidRequestException) => any;
709
- }
710
698
 
711
699
  export interface LimitExceededException extends __SmithyException, $MetadataBearer {
712
700
  name: "LimitExceededException";
713
701
  $fault: "client";
714
702
  message: string | undefined;
715
703
  }
716
- export declare namespace LimitExceededException {
717
-
718
- const filterSensitiveLog: (obj: LimitExceededException) => any;
719
- }
720
704
 
721
705
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
722
706
  name: "ResourceNotFoundException";
723
707
  $fault: "client";
724
708
  message: string | undefined;
725
709
  }
726
- export declare namespace ResourceNotFoundException {
727
-
728
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
729
- }
730
710
 
731
711
  export interface ThrottlingException extends __SmithyException, $MetadataBearer {
732
712
  name: "ThrottlingException";
733
713
  $fault: "client";
734
714
  message: string | undefined;
735
715
  }
736
- export declare namespace ThrottlingException {
737
-
738
- const filterSensitiveLog: (obj: ThrottlingException) => any;
739
- }
740
716
 
741
717
  export interface AssociatedAssetsSummary {
742
718
 
@@ -892,10 +868,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
892
868
  $fault: "server";
893
869
  message: string | undefined;
894
870
  }
895
- export declare namespace ServiceUnavailableException {
896
-
897
- const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
898
- }
899
871
  export interface CreateAccessPolicyRequest {
900
872
 
901
873
  accessPolicyIdentity: Identity | undefined;
@@ -962,10 +934,6 @@ export interface ResourceAlreadyExistsException extends __SmithyException, $Meta
962
934
 
963
935
  resourceArn: string | undefined;
964
936
  }
965
- export declare namespace ResourceAlreadyExistsException {
966
-
967
- const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
968
- }
969
937
  export interface CreateAssetModelRequest {
970
938
 
971
939
  assetModelName: string | undefined;
@@ -1772,6 +1740,17 @@ export declare namespace MultiLayerStorage {
1772
1740
 
1773
1741
  const filterSensitiveLog: (obj: MultiLayerStorage) => any;
1774
1742
  }
1743
+
1744
+ export interface RetentionPeriod {
1745
+
1746
+ numberOfDays?: number;
1747
+
1748
+ unlimited?: boolean;
1749
+ }
1750
+ export declare namespace RetentionPeriod {
1751
+
1752
+ const filterSensitiveLog: (obj: RetentionPeriod) => any;
1753
+ }
1775
1754
  export declare enum StorageType {
1776
1755
  MULTI_LAYER_STORAGE = "MULTI_LAYER_STORAGE",
1777
1756
  SITEWISE_DEFAULT_STORAGE = "SITEWISE_DEFAULT_STORAGE"
@@ -1784,6 +1763,8 @@ export interface DescribeStorageConfigurationResponse {
1784
1763
 
1785
1764
  disassociatedDataStorage?: DisassociatedDataStorageState | string;
1786
1765
 
1766
+ retentionPeriod?: RetentionPeriod;
1767
+
1787
1768
  configurationStatus: ConfigurationStatus | undefined;
1788
1769
 
1789
1770
  lastUpdateDate?: Date;
@@ -2353,10 +2334,6 @@ export interface UnauthorizedException extends __SmithyException, $MetadataBeare
2353
2334
  $fault: "client";
2354
2335
  message: string | undefined;
2355
2336
  }
2356
- export declare namespace UnauthorizedException {
2357
-
2358
- const filterSensitiveLog: (obj: UnauthorizedException) => any;
2359
- }
2360
2337
  export declare enum ListTimeSeriesType {
2361
2338
  ASSOCIATED = "ASSOCIATED",
2362
2339
  DISASSOCIATED = "DISASSOCIATED"
@@ -2453,6 +2430,8 @@ export interface PutStorageConfigurationRequest {
2453
2430
  multiLayerStorage?: MultiLayerStorage;
2454
2431
 
2455
2432
  disassociatedDataStorage?: DisassociatedDataStorageState | string;
2433
+
2434
+ retentionPeriod?: RetentionPeriod;
2456
2435
  }
2457
2436
  export declare namespace PutStorageConfigurationRequest {
2458
2437
 
@@ -2466,6 +2445,8 @@ export interface PutStorageConfigurationResponse {
2466
2445
 
2467
2446
  disassociatedDataStorage?: DisassociatedDataStorageState | string;
2468
2447
 
2448
+ retentionPeriod?: RetentionPeriod;
2449
+
2469
2450
  configurationStatus: ConfigurationStatus | undefined;
2470
2451
  }
2471
2452
  export declare namespace PutStorageConfigurationResponse {
@@ -2498,10 +2479,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
2498
2479
 
2499
2480
  resourceName?: string;
2500
2481
  }
2501
- export declare namespace TooManyTagsException {
2502
-
2503
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
2504
- }
2505
2482
  export interface UntagResourceRequest {
2506
2483
 
2507
2484
  resourceArn: string | undefined;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { IoTSiteWiseClientConfig } from "./IoTSiteWiseClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: IoTSiteWiseClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: IoTSiteWiseClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { IoTSiteWiseClientConfig } from "./IoTSiteWiseClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: IoTSiteWiseClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: IoTSiteWiseClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
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.43.0",
4
+ "version": "3.47.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "jest --coverage --passWithNoTests"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,51 +18,47 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.43.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
52
- "@aws-sdk/util-waiter": "3.40.0",
21
+ "@aws-sdk/client-sts": "3.47.0",
22
+ "@aws-sdk/config-resolver": "3.47.0",
23
+ "@aws-sdk/credential-provider-node": "3.47.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.0",
25
+ "@aws-sdk/hash-node": "3.47.0",
26
+ "@aws-sdk/invalid-dependency": "3.47.0",
27
+ "@aws-sdk/middleware-content-length": "3.47.0",
28
+ "@aws-sdk/middleware-host-header": "3.47.0",
29
+ "@aws-sdk/middleware-logger": "3.47.0",
30
+ "@aws-sdk/middleware-retry": "3.47.0",
31
+ "@aws-sdk/middleware-serde": "3.47.0",
32
+ "@aws-sdk/middleware-signing": "3.47.0",
33
+ "@aws-sdk/middleware-stack": "3.47.0",
34
+ "@aws-sdk/middleware-user-agent": "3.47.0",
35
+ "@aws-sdk/node-config-provider": "3.47.0",
36
+ "@aws-sdk/node-http-handler": "3.47.0",
37
+ "@aws-sdk/protocol-http": "3.47.0",
38
+ "@aws-sdk/smithy-client": "3.47.0",
39
+ "@aws-sdk/types": "3.47.0",
40
+ "@aws-sdk/url-parser": "3.47.0",
41
+ "@aws-sdk/util-base64-browser": "3.47.0",
42
+ "@aws-sdk/util-base64-node": "3.47.0",
43
+ "@aws-sdk/util-body-length-browser": "3.47.0",
44
+ "@aws-sdk/util-body-length-node": "3.47.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.0",
48
+ "@aws-sdk/util-user-agent-node": "3.47.0",
49
+ "@aws-sdk/util-utf8-browser": "3.47.0",
50
+ "@aws-sdk/util-utf8-node": "3.47.0",
51
+ "@aws-sdk/util-waiter": "3.47.0",
53
52
  "tslib": "^2.3.0",
54
53
  "uuid": "^8.3.2"
55
54
  },
56
55
  "devDependencies": {
57
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
56
+ "@aws-sdk/service-client-documentation-generator": "3.47.0",
58
57
  "@types/node": "^12.7.5",
59
- "@types/uuid": "^8.3.0",
60
- "downlevel-dts": "0.7.0",
61
- "jest": "^26.1.0",
62
- "rimraf": "^3.0.0",
63
- "ts-jest": "^26.4.1",
64
- "typedoc": "^0.19.2",
65
- "typescript": "~4.3.5"
58
+ "@types/uuid": "^8.3.0"
66
59
  },
67
60
  "engines": {
68
- "node": ">=10.0.0"
61
+ "node": ">=12.0.0"
69
62
  },
70
63
  "typesVersions": {
71
64
  "<4.0": {