@aws-sdk/client-drs 3.521.0 → 3.523.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -101,6 +101,7 @@ __export(src_exports, {
101
101
  OriginEnvironment: () => OriginEnvironment,
102
102
  PITPolicyRuleUnits: () => PITPolicyRuleUnits,
103
103
  ParticipatingResourceID: () => ParticipatingResourceID,
104
+ ProductCodeMode: () => ProductCodeMode,
104
105
  PutLaunchActionCommand: () => PutLaunchActionCommand,
105
106
  RecoveryInstanceDataReplicationInitiationStepName: () => RecoveryInstanceDataReplicationInitiationStepName,
106
107
  RecoveryInstanceDataReplicationInitiationStepStatus: () => RecoveryInstanceDataReplicationInitiationStepStatus,
@@ -161,6 +162,7 @@ __export(src_exports, {
161
162
  UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog: () => UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog,
162
163
  ValidationException: () => ValidationException,
163
164
  ValidationExceptionReason: () => ValidationExceptionReason,
165
+ VolumeStatus: () => VolumeStatus,
164
166
  __Client: () => import_smithy_client.Client,
165
167
  paginateDescribeJobLogItems: () => paginateDescribeJobLogItems,
166
168
  paginateDescribeJobs: () => paginateDescribeJobs,
@@ -564,6 +566,10 @@ var _ValidationException = class _ValidationException extends DrsServiceExceptio
564
566
  };
565
567
  __name(_ValidationException, "ValidationException");
566
568
  var ValidationException = _ValidationException;
569
+ var ProductCodeMode = {
570
+ DISABLED: "DISABLED",
571
+ ENABLED: "ENABLED"
572
+ };
567
573
  var DataReplicationErrorString = {
568
574
  AGENT_NOT_SEEN: "AGENT_NOT_SEEN",
569
575
  FAILED_TO_ATTACH_STAGING_DISKS: "FAILED_TO_ATTACH_STAGING_DISKS",
@@ -612,6 +618,12 @@ var DataReplicationState = {
612
618
  STALLED: "STALLED",
613
619
  STOPPED: "STOPPED"
614
620
  };
621
+ var VolumeStatus = {
622
+ CONTAINS_MARKETPLACE_PRODUCT_CODES: "CONTAINS_MARKETPLACE_PRODUCT_CODES",
623
+ MISSING_VOLUME_ATTRIBUTES: "MISSING_VOLUME_ATTRIBUTES",
624
+ MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE: "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE",
625
+ REGULAR: "REGULAR"
626
+ };
615
627
  var LastLaunchResult = {
616
628
  FAILED: "FAILED",
617
629
  NOT_STARTED: "NOT_STARTED",
@@ -3927,10 +3939,12 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3927
3939
  UninitializedAccountException,
3928
3940
  ValidationExceptionReason,
3929
3941
  ValidationException,
3942
+ ProductCodeMode,
3930
3943
  DataReplicationErrorString,
3931
3944
  DataReplicationInitiationStepName,
3932
3945
  DataReplicationInitiationStepStatus,
3933
3946
  DataReplicationState,
3947
+ VolumeStatus,
3934
3948
  LastLaunchResult,
3935
3949
  LastLaunchType,
3936
3950
  ReplicationDirection,
@@ -178,6 +178,10 @@ export class ValidationException extends __BaseException {
178
178
  this.fieldList = opts.fieldList;
179
179
  }
180
180
  }
181
+ export const ProductCodeMode = {
182
+ DISABLED: "DISABLED",
183
+ ENABLED: "ENABLED",
184
+ };
181
185
  export const DataReplicationErrorString = {
182
186
  AGENT_NOT_SEEN: "AGENT_NOT_SEEN",
183
187
  FAILED_TO_ATTACH_STAGING_DISKS: "FAILED_TO_ATTACH_STAGING_DISKS",
@@ -226,6 +230,12 @@ export const DataReplicationState = {
226
230
  STALLED: "STALLED",
227
231
  STOPPED: "STOPPED",
228
232
  };
233
+ export const VolumeStatus = {
234
+ CONTAINS_MARKETPLACE_PRODUCT_CODES: "CONTAINS_MARKETPLACE_PRODUCT_CODES",
235
+ MISSING_VOLUME_ATTRIBUTES: "MISSING_VOLUME_ATTRIBUTES",
236
+ MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE: "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE",
237
+ REGULAR: "REGULAR",
238
+ };
229
239
  export const LastLaunchResult = {
230
240
  FAILED: "FAILED",
231
241
  NOT_STARTED: "NOT_STARTED",
@@ -60,6 +60,7 @@ declare const CreateExtendedSourceServerCommand_base: {
60
60
  * // replicatedStorageBytes: Number("long"),
61
61
  * // rescannedStorageBytes: Number("long"),
62
62
  * // backloggedStorageBytes: Number("long"),
63
+ * // volumeStatus: "STRING_VALUE",
63
64
  * // },
64
65
  * // ],
65
66
  * // dataReplicationState: "STRING_VALUE",
@@ -62,6 +62,14 @@ declare const DescribeJobLogItemsCommand_base: {
62
62
  * // volumeToVolumeSize: { // VolumeToSizeMap
63
63
  * // "<keys>": Number("long"),
64
64
  * // },
65
+ * // volumeToProductCodes: { // VolumeToProductCodes
66
+ * // "<keys>": [ // ProductCodes
67
+ * // { // ProductCode
68
+ * // productCodeId: "STRING_VALUE",
69
+ * // productCodeMode: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // },
65
73
  * // },
66
74
  * // eventResourceData: { // EventResourceData Union: only one key present
67
75
  * // sourceNetworkData: { // SourceNetworkData
@@ -68,6 +68,7 @@ declare const DescribeSourceServersCommand_base: {
68
68
  * // replicatedStorageBytes: Number("long"),
69
69
  * // rescannedStorageBytes: Number("long"),
70
70
  * // backloggedStorageBytes: Number("long"),
71
+ * // volumeStatus: "STRING_VALUE",
71
72
  * // },
72
73
  * // ],
73
74
  * // dataReplicationState: "STRING_VALUE",
@@ -56,6 +56,7 @@ declare const DisconnectSourceServerCommand_base: {
56
56
  * // replicatedStorageBytes: Number("long"),
57
57
  * // rescannedStorageBytes: Number("long"),
58
58
  * // backloggedStorageBytes: Number("long"),
59
+ * // volumeStatus: "STRING_VALUE",
59
60
  * // },
60
61
  * // ],
61
62
  * // dataReplicationState: "STRING_VALUE",
@@ -60,6 +60,7 @@ declare const RetryDataReplicationCommand_base: {
60
60
  * // replicatedStorageBytes: Number("long"),
61
61
  * // rescannedStorageBytes: Number("long"),
62
62
  * // backloggedStorageBytes: Number("long"),
63
+ * // volumeStatus: "STRING_VALUE",
63
64
  * // },
64
65
  * // ],
65
66
  * // dataReplicationState: "STRING_VALUE",
@@ -57,6 +57,7 @@ declare const StartReplicationCommand_base: {
57
57
  * // replicatedStorageBytes: Number("long"),
58
58
  * // rescannedStorageBytes: Number("long"),
59
59
  * // backloggedStorageBytes: Number("long"),
60
+ * // volumeStatus: "STRING_VALUE",
60
61
  * // },
61
62
  * // ],
62
63
  * // dataReplicationState: "STRING_VALUE",
@@ -57,6 +57,7 @@ declare const StopReplicationCommand_base: {
57
57
  * // replicatedStorageBytes: Number("long"),
58
58
  * // rescannedStorageBytes: Number("long"),
59
59
  * // backloggedStorageBytes: Number("long"),
60
+ * // volumeStatus: "STRING_VALUE",
60
61
  * // },
61
62
  * // ],
62
63
  * // dataReplicationState: "STRING_VALUE",
@@ -597,6 +597,34 @@ export declare class ValidationException extends __BaseException {
597
597
  */
598
598
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
599
599
  }
600
+ /**
601
+ * @public
602
+ * @enum
603
+ */
604
+ export declare const ProductCodeMode: {
605
+ readonly DISABLED: "DISABLED";
606
+ readonly ENABLED: "ENABLED";
607
+ };
608
+ /**
609
+ * @public
610
+ */
611
+ export type ProductCodeMode = (typeof ProductCodeMode)[keyof typeof ProductCodeMode];
612
+ /**
613
+ * @public
614
+ * <p>Properties of a product code associated with a volume.</p>
615
+ */
616
+ export interface ProductCode {
617
+ /**
618
+ * @public
619
+ * <p>Id of a product code associated with a volume.</p>
620
+ */
621
+ productCodeId?: string;
622
+ /**
623
+ * @public
624
+ * <p>Mode of a product code associated with a volume.</p>
625
+ */
626
+ productCodeMode?: ProductCodeMode;
627
+ }
600
628
  /**
601
629
  * @public
602
630
  * <p>Properties of a conversion job</p>
@@ -627,6 +655,11 @@ export interface ConversionProperties {
627
655
  * <p>A mapping between the volumes and their sizes</p>
628
656
  */
629
657
  volumeToVolumeSize?: Record<string, number>;
658
+ /**
659
+ * @public
660
+ * <p>A mapping between the volumes being converted and the product codes associated with them</p>
661
+ */
662
+ volumeToProductCodes?: Record<string, ProductCode[]>;
630
663
  }
631
664
  /**
632
665
  * @public
@@ -792,6 +825,20 @@ export declare const DataReplicationState: {
792
825
  * @public
793
826
  */
794
827
  export type DataReplicationState = (typeof DataReplicationState)[keyof typeof DataReplicationState];
828
+ /**
829
+ * @public
830
+ * @enum
831
+ */
832
+ export declare const VolumeStatus: {
833
+ readonly CONTAINS_MARKETPLACE_PRODUCT_CODES: "CONTAINS_MARKETPLACE_PRODUCT_CODES";
834
+ readonly MISSING_VOLUME_ATTRIBUTES: "MISSING_VOLUME_ATTRIBUTES";
835
+ readonly MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE: "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE";
836
+ readonly REGULAR: "REGULAR";
837
+ };
838
+ /**
839
+ * @public
840
+ */
841
+ export type VolumeStatus = (typeof VolumeStatus)[keyof typeof VolumeStatus];
795
842
  /**
796
843
  * @public
797
844
  * <p>A disk that should be replicated.</p>
@@ -822,6 +869,11 @@ export interface DataReplicationInfoReplicatedDisk {
822
869
  * <p>The size of the replication backlog in bytes.</p>
823
870
  */
824
871
  backloggedStorageBytes?: number;
872
+ /**
873
+ * @public
874
+ * <p>The status of the volume.</p>
875
+ */
876
+ volumeStatus?: VolumeStatus;
825
877
  }
826
878
  /**
827
879
  * @public
@@ -223,12 +223,23 @@ export declare class ValidationException extends __BaseException {
223
223
  opts: __ExceptionOptionType<ValidationException, __BaseException>
224
224
  );
225
225
  }
226
+ export declare const ProductCodeMode: {
227
+ readonly DISABLED: "DISABLED";
228
+ readonly ENABLED: "ENABLED";
229
+ };
230
+ export type ProductCodeMode =
231
+ (typeof ProductCodeMode)[keyof typeof ProductCodeMode];
232
+ export interface ProductCode {
233
+ productCodeId?: string;
234
+ productCodeMode?: ProductCodeMode;
235
+ }
226
236
  export interface ConversionProperties {
227
237
  volumeToConversionMap?: Record<string, Record<string, string>>;
228
238
  rootVolumeName?: string;
229
239
  forceUefi?: boolean;
230
240
  dataTimestamp?: string;
231
241
  volumeToVolumeSize?: Record<string, number>;
242
+ volumeToProductCodes?: Record<string, ProductCode[]>;
232
243
  }
233
244
  export interface CPU {
234
245
  cores?: number;
@@ -307,12 +318,20 @@ export declare const DataReplicationState: {
307
318
  };
308
319
  export type DataReplicationState =
309
320
  (typeof DataReplicationState)[keyof typeof DataReplicationState];
321
+ export declare const VolumeStatus: {
322
+ readonly CONTAINS_MARKETPLACE_PRODUCT_CODES: "CONTAINS_MARKETPLACE_PRODUCT_CODES";
323
+ readonly MISSING_VOLUME_ATTRIBUTES: "MISSING_VOLUME_ATTRIBUTES";
324
+ readonly MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE: "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE";
325
+ readonly REGULAR: "REGULAR";
326
+ };
327
+ export type VolumeStatus = (typeof VolumeStatus)[keyof typeof VolumeStatus];
310
328
  export interface DataReplicationInfoReplicatedDisk {
311
329
  deviceName?: string;
312
330
  totalStorageBytes?: number;
313
331
  replicatedStorageBytes?: number;
314
332
  rescannedStorageBytes?: number;
315
333
  backloggedStorageBytes?: number;
334
+ volumeStatus?: VolumeStatus;
316
335
  }
317
336
  export interface DataReplicationInfo {
318
337
  lagDuration?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-drs",
3
3
  "description": "AWS SDK for JavaScript Drs Client for Node.js, Browser and React Native",
4
- "version": "3.521.0",
4
+ "version": "3.523.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-drs",
@@ -20,42 +20,42 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.521.0",
24
- "@aws-sdk/core": "3.521.0",
25
- "@aws-sdk/credential-provider-node": "3.521.0",
26
- "@aws-sdk/middleware-host-header": "3.521.0",
27
- "@aws-sdk/middleware-logger": "3.521.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.521.0",
29
- "@aws-sdk/middleware-user-agent": "3.521.0",
30
- "@aws-sdk/region-config-resolver": "3.521.0",
31
- "@aws-sdk/types": "3.521.0",
32
- "@aws-sdk/util-endpoints": "3.521.0",
33
- "@aws-sdk/util-user-agent-browser": "3.521.0",
34
- "@aws-sdk/util-user-agent-node": "3.521.0",
35
- "@smithy/config-resolver": "^2.1.2",
36
- "@smithy/core": "^1.3.3",
37
- "@smithy/fetch-http-handler": "^2.4.2",
38
- "@smithy/hash-node": "^2.1.2",
39
- "@smithy/invalid-dependency": "^2.1.2",
40
- "@smithy/middleware-content-length": "^2.1.2",
41
- "@smithy/middleware-endpoint": "^2.4.2",
42
- "@smithy/middleware-retry": "^2.1.2",
43
- "@smithy/middleware-serde": "^2.1.2",
44
- "@smithy/middleware-stack": "^2.1.2",
45
- "@smithy/node-config-provider": "^2.2.2",
46
- "@smithy/node-http-handler": "^2.4.0",
47
- "@smithy/protocol-http": "^3.2.0",
48
- "@smithy/smithy-client": "^2.4.0",
49
- "@smithy/types": "^2.10.0",
50
- "@smithy/url-parser": "^2.1.2",
23
+ "@aws-sdk/client-sts": "3.523.0",
24
+ "@aws-sdk/core": "3.523.0",
25
+ "@aws-sdk/credential-provider-node": "3.523.0",
26
+ "@aws-sdk/middleware-host-header": "3.523.0",
27
+ "@aws-sdk/middleware-logger": "3.523.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
+ "@aws-sdk/middleware-user-agent": "3.523.0",
30
+ "@aws-sdk/region-config-resolver": "3.523.0",
31
+ "@aws-sdk/types": "3.523.0",
32
+ "@aws-sdk/util-endpoints": "3.523.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.523.0",
34
+ "@aws-sdk/util-user-agent-node": "3.523.0",
35
+ "@smithy/config-resolver": "^2.1.3",
36
+ "@smithy/core": "^1.3.4",
37
+ "@smithy/fetch-http-handler": "^2.4.3",
38
+ "@smithy/hash-node": "^2.1.3",
39
+ "@smithy/invalid-dependency": "^2.1.3",
40
+ "@smithy/middleware-content-length": "^2.1.3",
41
+ "@smithy/middleware-endpoint": "^2.4.3",
42
+ "@smithy/middleware-retry": "^2.1.3",
43
+ "@smithy/middleware-serde": "^2.1.3",
44
+ "@smithy/middleware-stack": "^2.1.3",
45
+ "@smithy/node-config-provider": "^2.2.3",
46
+ "@smithy/node-http-handler": "^2.4.1",
47
+ "@smithy/protocol-http": "^3.2.1",
48
+ "@smithy/smithy-client": "^2.4.1",
49
+ "@smithy/types": "^2.10.1",
50
+ "@smithy/url-parser": "^2.1.3",
51
51
  "@smithy/util-base64": "^2.1.1",
52
52
  "@smithy/util-body-length-browser": "^2.1.1",
53
53
  "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.2",
55
- "@smithy/util-defaults-mode-node": "^2.2.1",
56
- "@smithy/util-endpoints": "^1.1.2",
57
- "@smithy/util-middleware": "^2.1.2",
58
- "@smithy/util-retry": "^2.1.2",
54
+ "@smithy/util-defaults-mode-browser": "^2.1.3",
55
+ "@smithy/util-defaults-mode-node": "^2.2.2",
56
+ "@smithy/util-endpoints": "^1.1.3",
57
+ "@smithy/util-middleware": "^2.1.3",
58
+ "@smithy/util-retry": "^2.1.3",
59
59
  "@smithy/util-utf8": "^2.1.1",
60
60
  "tslib": "^2.5.0"
61
61
  },