@aws-sdk/client-datasync 3.379.1 → 3.385.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/CreateLocationNfsCommand.d.ts +8 -2
- package/dist-types/commands/DescribeLocationNfsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeStorageSystemResourcesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateLocationNfsCommand.d.ts +4 -3
- package/dist-types/models/models_0.d.ts +581 -56
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +5 -5
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
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 }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://datasync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://datasync-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://datasync.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://datasync.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -3034,6 +3034,7 @@ const de_NetAppONTAPCluster = (output, context) => {
|
|
|
3034
3034
|
ClusterBlockStorageLogicalUsed: smithy_client_1.expectLong,
|
|
3035
3035
|
ClusterBlockStorageSize: smithy_client_1.expectLong,
|
|
3036
3036
|
ClusterBlockStorageUsed: smithy_client_1.expectLong,
|
|
3037
|
+
ClusterCloudStorageUsed: smithy_client_1.expectLong,
|
|
3037
3038
|
ClusterName: smithy_client_1.expectString,
|
|
3038
3039
|
LunCount: smithy_client_1.expectLong,
|
|
3039
3040
|
MaxP95Performance: (_) => de_MaxP95Performance(_, context),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
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 }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://datasync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://datasync-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://datasync.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://datasync.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -2909,6 +2909,7 @@ const de_NetAppONTAPCluster = (output, context) => {
|
|
|
2909
2909
|
ClusterBlockStorageLogicalUsed: __expectLong,
|
|
2910
2910
|
ClusterBlockStorageSize: __expectLong,
|
|
2911
2911
|
ClusterBlockStorageUsed: __expectLong,
|
|
2912
|
+
ClusterCloudStorageUsed: __expectLong,
|
|
2912
2913
|
ClusterName: __expectString,
|
|
2913
2914
|
LunCount: __expectLong,
|
|
2914
2915
|
MaxP95Performance: (_) => de_MaxP95Performance(_, context),
|
|
@@ -23,8 +23,14 @@ export interface CreateLocationNfsCommandOutput extends CreateLocationNfsRespons
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates an endpoint for
|
|
27
|
-
*
|
|
26
|
+
* <p>Creates an endpoint for a Network File System (NFS) file server that DataSync can use for a data transfer.</p>
|
|
27
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html">Configuring transfers to or from an NFS file
|
|
28
|
+
* server</a>.</p>
|
|
29
|
+
* <note>
|
|
30
|
+
* <p>If you're copying data to or from an Snowcone device, you can also use
|
|
31
|
+
* <code>CreateLocationNfs</code> to create your transfer location. For more information, see
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/nfs-on-snowcone.html">Configuring transfers with Snowcone</a>.</p>
|
|
33
|
+
* </note>
|
|
28
34
|
* @example
|
|
29
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
36
|
* ```javascript
|
|
@@ -23,7 +23,8 @@ export interface DescribeLocationNfsCommandOutput extends DescribeLocationNfsRes
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p>Provides details about how an DataSync transfer location for a Network
|
|
27
|
+
* File System (NFS) file server is configured.</p>
|
|
27
28
|
* @example
|
|
28
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
30
|
* ```javascript
|
|
@@ -69,6 +69,7 @@ export interface DescribeStorageSystemResourceMetricsCommandOutput extends Descr
|
|
|
69
69
|
* // Used: Number("long"),
|
|
70
70
|
* // Provisioned: Number("long"),
|
|
71
71
|
* // LogicalUsed: Number("long"),
|
|
72
|
+
* // ClusterCloudStorageUsed: Number("long"),
|
|
72
73
|
* // },
|
|
73
74
|
* // ResourceId: "STRING_VALUE",
|
|
74
75
|
* // ResourceType: "SVM" || "VOLUME" || "CLUSTER",
|
|
@@ -161,6 +161,7 @@ export interface DescribeStorageSystemResourcesCommandOutput extends DescribeSto
|
|
|
161
161
|
* // ],
|
|
162
162
|
* // RecommendationStatus: "NONE" || "IN_PROGRESS" || "COMPLETED" || "FAILED",
|
|
163
163
|
* // LunCount: Number("long"),
|
|
164
|
+
* // ClusterCloudStorageUsed: Number("long"),
|
|
164
165
|
* // },
|
|
165
166
|
* // ],
|
|
166
167
|
* // },
|
|
@@ -23,9 +23,10 @@ export interface UpdateLocationNfsCommandOutput extends UpdateLocationNfsRespons
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
26
|
+
* <p>Modifies some configurations of the Network File System (NFS) transfer location that
|
|
27
|
+
* you're using with DataSync.</p>
|
|
28
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html">Configuring transfers to or from an
|
|
29
|
+
* NFS file server</a>.</p>
|
|
29
30
|
* @example
|
|
30
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
32
|
* ```javascript
|