@aws-sdk/client-datasync 3.100.0 → 3.101.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 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.101.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.100.0...v3.101.0) (2022-05-27)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-datasync:** AWS DataSync now supports TLS encryption in transit, file system policies and access points for EFS locations. ([691df14](https://github.com/aws/aws-sdk-js-v3/commit/691df1466cae728f02e375cd879f784cb422eb8e))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-datasync
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ObjectTags = exports.Mtime = exports.LogLevel = exports.Gid = exports.FilterRule = exports.FilterType = exports.CreateLocationSmbResponse = exports.CreateLocationSmbRequest = exports.SmbMountOptions = exports.SmbVersion = exports.CreateLocationS3Response = exports.CreateLocationS3Request = exports.S3StorageClass = exports.S3Config = exports.CreateLocationObjectStorageResponse = exports.CreateLocationObjectStorageRequest = exports.ObjectStorageServerProtocol = exports.CreateLocationNfsResponse = exports.CreateLocationNfsRequest = exports.OnPremConfig = exports.CreateLocationHdfsResponse = exports.CreateLocationHdfsRequest = exports.QopConfiguration = exports.HdfsRpcProtection = exports.HdfsDataTransferProtection = exports.HdfsNameNode = exports.HdfsAuthenticationType = exports.CreateLocationFsxWindowsResponse = exports.CreateLocationFsxWindowsRequest = exports.CreateLocationFsxOpenZfsResponse = exports.CreateLocationFsxOpenZfsRequest = exports.FsxProtocol = exports.FsxProtocolNfs = exports.NfsMountOptions = exports.NfsVersion = exports.CreateLocationFsxLustreResponse = exports.CreateLocationFsxLustreRequest = exports.CreateLocationEfsResponse = exports.CreateLocationEfsRequest = exports.Ec2Config = exports.CreateAgentResponse = exports.CreateAgentRequest = exports.TagListEntry = exports.InvalidRequestException = exports.InternalException = exports.CancelTaskExecutionResponse = exports.CancelTaskExecutionRequest = exports.Atime = exports.AgentListEntry = exports.AgentStatus = void 0;
4
- exports.ListAgentsRequest = exports.DescribeTaskExecutionResponse = exports.TaskExecutionStatus = exports.TaskExecutionResultDetail = exports.PhaseStatus = exports.DescribeTaskExecutionRequest = exports.DescribeTaskResponse = exports.TaskStatus = exports.DescribeTaskRequest = exports.DescribeLocationSmbResponse = exports.DescribeLocationSmbRequest = exports.DescribeLocationS3Response = exports.DescribeLocationS3Request = exports.DescribeLocationObjectStorageResponse = exports.DescribeLocationObjectStorageRequest = exports.DescribeLocationNfsResponse = exports.DescribeLocationNfsRequest = exports.DescribeLocationHdfsResponse = exports.DescribeLocationHdfsRequest = exports.DescribeLocationFsxWindowsResponse = exports.DescribeLocationFsxWindowsRequest = exports.DescribeLocationFsxOpenZfsResponse = exports.DescribeLocationFsxOpenZfsRequest = exports.DescribeLocationFsxLustreResponse = exports.DescribeLocationFsxLustreRequest = exports.DescribeLocationEfsResponse = exports.DescribeLocationEfsRequest = exports.DescribeAgentResponse = exports.PrivateLinkConfig = exports.EndpointType = exports.DescribeAgentRequest = exports.DeleteTaskResponse = exports.DeleteTaskRequest = exports.DeleteLocationResponse = exports.DeleteLocationRequest = exports.DeleteAgentResponse = exports.DeleteAgentRequest = exports.CreateTaskResponse = exports.CreateTaskRequest = exports.TaskSchedule = exports.Options = exports.VerifyMode = exports.Uid = exports.TransferMode = exports.TaskQueueing = exports.SmbSecurityDescriptorCopyFlags = exports.PreserveDevices = exports.PreserveDeletedFiles = exports.PosixPermissions = exports.OverwriteMode = void 0;
5
- exports.UpdateTaskExecutionResponse = exports.UpdateTaskExecutionRequest = exports.UpdateTaskResponse = exports.UpdateTaskRequest = exports.UpdateLocationSmbResponse = exports.UpdateLocationSmbRequest = exports.UpdateLocationObjectStorageResponse = exports.UpdateLocationObjectStorageRequest = exports.UpdateLocationNfsResponse = exports.UpdateLocationNfsRequest = exports.UpdateLocationHdfsResponse = exports.UpdateLocationHdfsRequest = exports.UpdateAgentResponse = exports.UpdateAgentRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartTaskExecutionResponse = exports.StartTaskExecutionRequest = exports.ListTasksResponse = exports.TaskListEntry = exports.ListTasksRequest = exports.TaskFilter = exports.TaskFilterName = exports.ListTaskExecutionsResponse = exports.TaskExecutionListEntry = exports.ListTaskExecutionsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListLocationsResponse = exports.LocationListEntry = exports.ListLocationsRequest = exports.LocationFilter = exports.Operator = exports.LocationFilterName = exports.ListAgentsResponse = void 0;
3
+ exports.Mtime = exports.LogLevel = exports.Gid = exports.FilterRule = exports.FilterType = exports.CreateLocationSmbResponse = exports.CreateLocationSmbRequest = exports.SmbMountOptions = exports.SmbVersion = exports.CreateLocationS3Response = exports.CreateLocationS3Request = exports.S3StorageClass = exports.S3Config = exports.CreateLocationObjectStorageResponse = exports.CreateLocationObjectStorageRequest = exports.ObjectStorageServerProtocol = exports.CreateLocationNfsResponse = exports.CreateLocationNfsRequest = exports.OnPremConfig = exports.CreateLocationHdfsResponse = exports.CreateLocationHdfsRequest = exports.QopConfiguration = exports.HdfsRpcProtection = exports.HdfsDataTransferProtection = exports.HdfsNameNode = exports.HdfsAuthenticationType = exports.CreateLocationFsxWindowsResponse = exports.CreateLocationFsxWindowsRequest = exports.CreateLocationFsxOpenZfsResponse = exports.CreateLocationFsxOpenZfsRequest = exports.FsxProtocol = exports.FsxProtocolNfs = exports.NfsMountOptions = exports.NfsVersion = exports.CreateLocationFsxLustreResponse = exports.CreateLocationFsxLustreRequest = exports.CreateLocationEfsResponse = exports.CreateLocationEfsRequest = exports.EfsInTransitEncryption = exports.Ec2Config = exports.CreateAgentResponse = exports.CreateAgentRequest = exports.TagListEntry = exports.InvalidRequestException = exports.InternalException = exports.CancelTaskExecutionResponse = exports.CancelTaskExecutionRequest = exports.Atime = exports.AgentListEntry = exports.AgentStatus = void 0;
4
+ exports.DescribeTaskExecutionResponse = exports.TaskExecutionStatus = exports.TaskExecutionResultDetail = exports.PhaseStatus = exports.DescribeTaskExecutionRequest = exports.DescribeTaskResponse = exports.TaskStatus = exports.DescribeTaskRequest = exports.DescribeLocationSmbResponse = exports.DescribeLocationSmbRequest = exports.DescribeLocationS3Response = exports.DescribeLocationS3Request = exports.DescribeLocationObjectStorageResponse = exports.DescribeLocationObjectStorageRequest = exports.DescribeLocationNfsResponse = exports.DescribeLocationNfsRequest = exports.DescribeLocationHdfsResponse = exports.DescribeLocationHdfsRequest = exports.DescribeLocationFsxWindowsResponse = exports.DescribeLocationFsxWindowsRequest = exports.DescribeLocationFsxOpenZfsResponse = exports.DescribeLocationFsxOpenZfsRequest = exports.DescribeLocationFsxLustreResponse = exports.DescribeLocationFsxLustreRequest = exports.DescribeLocationEfsResponse = exports.DescribeLocationEfsRequest = exports.DescribeAgentResponse = exports.PrivateLinkConfig = exports.EndpointType = exports.DescribeAgentRequest = exports.DeleteTaskResponse = exports.DeleteTaskRequest = exports.DeleteLocationResponse = exports.DeleteLocationRequest = exports.DeleteAgentResponse = exports.DeleteAgentRequest = exports.CreateTaskResponse = exports.CreateTaskRequest = exports.TaskSchedule = exports.Options = exports.VerifyMode = exports.Uid = exports.TransferMode = exports.TaskQueueing = exports.SmbSecurityDescriptorCopyFlags = exports.PreserveDevices = exports.PreserveDeletedFiles = exports.PosixPermissions = exports.OverwriteMode = exports.ObjectTags = void 0;
5
+ exports.UpdateTaskExecutionResponse = exports.UpdateTaskExecutionRequest = exports.UpdateTaskResponse = exports.UpdateTaskRequest = exports.UpdateLocationSmbResponse = exports.UpdateLocationSmbRequest = exports.UpdateLocationObjectStorageResponse = exports.UpdateLocationObjectStorageRequest = exports.UpdateLocationNfsResponse = exports.UpdateLocationNfsRequest = exports.UpdateLocationHdfsResponse = exports.UpdateLocationHdfsRequest = exports.UpdateAgentResponse = exports.UpdateAgentRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartTaskExecutionResponse = exports.StartTaskExecutionRequest = exports.ListTasksResponse = exports.TaskListEntry = exports.ListTasksRequest = exports.TaskFilter = exports.TaskFilterName = exports.ListTaskExecutionsResponse = exports.TaskExecutionListEntry = exports.ListTaskExecutionsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListLocationsResponse = exports.LocationListEntry = exports.ListLocationsRequest = exports.LocationFilter = exports.Operator = exports.LocationFilterName = exports.ListAgentsResponse = exports.ListAgentsRequest = void 0;
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const DataSyncServiceException_1 = require("./DataSyncServiceException");
8
8
  var AgentStatus;
@@ -86,6 +86,11 @@ var Ec2Config;
86
86
  ...obj,
87
87
  });
88
88
  })(Ec2Config = exports.Ec2Config || (exports.Ec2Config = {}));
89
+ var EfsInTransitEncryption;
90
+ (function (EfsInTransitEncryption) {
91
+ EfsInTransitEncryption["NONE"] = "NONE";
92
+ EfsInTransitEncryption["TLS1_2"] = "TLS1_2";
93
+ })(EfsInTransitEncryption = exports.EfsInTransitEncryption || (exports.EfsInTransitEncryption = {}));
89
94
  var CreateLocationEfsRequest;
90
95
  (function (CreateLocationEfsRequest) {
91
96
  CreateLocationEfsRequest.filterSensitiveLog = (obj) => ({
@@ -2115,10 +2115,16 @@ const serializeAws_json1_1CreateAgentRequest = (input, context) => {
2115
2115
  };
2116
2116
  const serializeAws_json1_1CreateLocationEfsRequest = (input, context) => {
2117
2117
  return {
2118
+ ...(input.AccessPointArn !== undefined &&
2119
+ input.AccessPointArn !== null && { AccessPointArn: input.AccessPointArn }),
2118
2120
  ...(input.Ec2Config !== undefined &&
2119
2121
  input.Ec2Config !== null && { Ec2Config: serializeAws_json1_1Ec2Config(input.Ec2Config, context) }),
2120
2122
  ...(input.EfsFilesystemArn !== undefined &&
2121
2123
  input.EfsFilesystemArn !== null && { EfsFilesystemArn: input.EfsFilesystemArn }),
2124
+ ...(input.FileSystemAccessRoleArn !== undefined &&
2125
+ input.FileSystemAccessRoleArn !== null && { FileSystemAccessRoleArn: input.FileSystemAccessRoleArn }),
2126
+ ...(input.InTransitEncryption !== undefined &&
2127
+ input.InTransitEncryption !== null && { InTransitEncryption: input.InTransitEncryption }),
2122
2128
  ...(input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }),
2123
2129
  ...(input.Tags !== undefined &&
2124
2130
  input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
@@ -2850,12 +2856,15 @@ const deserializeAws_json1_1DescribeAgentResponse = (output, context) => {
2850
2856
  };
2851
2857
  const deserializeAws_json1_1DescribeLocationEfsResponse = (output, context) => {
2852
2858
  return {
2859
+ AccessPointArn: (0, smithy_client_1.expectString)(output.AccessPointArn),
2853
2860
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2854
2861
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2855
2862
  : undefined,
2856
2863
  Ec2Config: output.Ec2Config !== undefined && output.Ec2Config !== null
2857
2864
  ? deserializeAws_json1_1Ec2Config(output.Ec2Config, context)
2858
2865
  : undefined,
2866
+ FileSystemAccessRoleArn: (0, smithy_client_1.expectString)(output.FileSystemAccessRoleArn),
2867
+ InTransitEncryption: (0, smithy_client_1.expectString)(output.InTransitEncryption),
2859
2868
  LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2860
2869
  LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2861
2870
  };
@@ -66,6 +66,11 @@ export var Ec2Config;
66
66
  (function (Ec2Config) {
67
67
  Ec2Config.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
68
68
  })(Ec2Config || (Ec2Config = {}));
69
+ export var EfsInTransitEncryption;
70
+ (function (EfsInTransitEncryption) {
71
+ EfsInTransitEncryption["NONE"] = "NONE";
72
+ EfsInTransitEncryption["TLS1_2"] = "TLS1_2";
73
+ })(EfsInTransitEncryption || (EfsInTransitEncryption = {}));
69
74
  export var CreateLocationEfsRequest;
70
75
  (function (CreateLocationEfsRequest) {
71
76
  CreateLocationEfsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -2774,9 +2774,12 @@ var serializeAws_json1_1CreateAgentRequest = function (input, context) {
2774
2774
  input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.VpcEndpointId !== undefined && input.VpcEndpointId !== null && { VpcEndpointId: input.VpcEndpointId }));
2775
2775
  };
2776
2776
  var serializeAws_json1_1CreateLocationEfsRequest = function (input, context) {
2777
- return __assign(__assign(__assign(__assign({}, (input.Ec2Config !== undefined &&
2777
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPointArn !== undefined &&
2778
+ input.AccessPointArn !== null && { AccessPointArn: input.AccessPointArn })), (input.Ec2Config !== undefined &&
2778
2779
  input.Ec2Config !== null && { Ec2Config: serializeAws_json1_1Ec2Config(input.Ec2Config, context) })), (input.EfsFilesystemArn !== undefined &&
2779
- input.EfsFilesystemArn !== null && { EfsFilesystemArn: input.EfsFilesystemArn })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
2780
+ input.EfsFilesystemArn !== null && { EfsFilesystemArn: input.EfsFilesystemArn })), (input.FileSystemAccessRoleArn !== undefined &&
2781
+ input.FileSystemAccessRoleArn !== null && { FileSystemAccessRoleArn: input.FileSystemAccessRoleArn })), (input.InTransitEncryption !== undefined &&
2782
+ input.InTransitEncryption !== null && { InTransitEncryption: input.InTransitEncryption })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
2780
2783
  input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
2781
2784
  };
2782
2785
  var serializeAws_json1_1CreateLocationFsxLustreRequest = function (input, context) {
@@ -3268,12 +3271,15 @@ var deserializeAws_json1_1DescribeAgentResponse = function (output, context) {
3268
3271
  };
3269
3272
  var deserializeAws_json1_1DescribeLocationEfsResponse = function (output, context) {
3270
3273
  return {
3274
+ AccessPointArn: __expectString(output.AccessPointArn),
3271
3275
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3272
3276
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
3273
3277
  : undefined,
3274
3278
  Ec2Config: output.Ec2Config !== undefined && output.Ec2Config !== null
3275
3279
  ? deserializeAws_json1_1Ec2Config(output.Ec2Config, context)
3276
3280
  : undefined,
3281
+ FileSystemAccessRoleArn: __expectString(output.FileSystemAccessRoleArn),
3282
+ InTransitEncryption: __expectString(output.InTransitEncryption),
3277
3283
  LocationArn: __expectString(output.LocationArn),
3278
3284
  LocationUri: __expectString(output.LocationUri),
3279
3285
  };
@@ -86,7 +86,8 @@ export declare class DataSync extends DataSyncClient {
86
86
  createAgent(args: CreateAgentCommandInput, cb: (err: any, data?: CreateAgentCommandOutput) => void): void;
87
87
  createAgent(args: CreateAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentCommandOutput) => void): void;
88
88
  /**
89
- * <p>Creates an endpoint for an Amazon EFS file system.</p>
89
+ * <p>Creates an endpoint for an Amazon EFS file system that DataSync
90
+ * can access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html">Creating a location for Amazon EFS</a>.</p>
90
91
  */
91
92
  createLocationEfs(args: CreateLocationEfsCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationEfsCommandOutput>;
92
93
  createLocationEfs(args: CreateLocationEfsCommandInput, cb: (err: any, data?: CreateLocationEfsCommandOutput) => void): void;
@@ -202,7 +203,7 @@ export declare class DataSync extends DataSyncClient {
202
203
  describeAgent(args: DescribeAgentCommandInput, cb: (err: any, data?: DescribeAgentCommandOutput) => void): void;
203
204
  describeAgent(args: DescribeAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAgentCommandOutput) => void): void;
204
205
  /**
205
- * <p>Returns metadata, such as the path information about an Amazon EFS location.</p>
206
+ * <p>Returns metadata about your DataSync location for an Amazon EFS file system.</p>
206
207
  */
207
208
  describeLocationEfs(args: DescribeLocationEfsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationEfsCommandOutput>;
208
209
  describeLocationEfs(args: DescribeLocationEfsCommandInput, cb: (err: any, data?: DescribeLocationEfsCommandOutput) => void): void;
@@ -7,7 +7,8 @@ export interface CreateLocationEfsCommandInput extends CreateLocationEfsRequest
7
7
  export interface CreateLocationEfsCommandOutput extends CreateLocationEfsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates an endpoint for an Amazon EFS file system.</p>
10
+ * <p>Creates an endpoint for an Amazon EFS file system that DataSync
11
+ * can access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html">Creating a location for Amazon EFS</a>.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,7 +7,7 @@ export interface DescribeLocationEfsCommandInput extends DescribeLocationEfsRequ
7
7
  export interface DescribeLocationEfsCommandOutput extends DescribeLocationEfsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns metadata, such as the path information about an Amazon EFS location.</p>
10
+ * <p>Returns metadata about your DataSync location for an Amazon EFS file system.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -182,20 +182,29 @@ export declare namespace CreateAgentResponse {
182
182
  const filterSensitiveLog: (obj: CreateAgentResponse) => any;
183
183
  }
184
184
  /**
185
- * <p>The subnet that DataSync uses to access target EFS file system. The
186
- * subnet must have at least one mount target for that file system. The security group that you
187
- * provide needs to be able to communicate with the security group on the mount target in the
188
- * subnet specified. </p>
185
+ * <p>The subnet and security groups that DataSync uses to access your Amazon EFS file system.</p>
189
186
  */
190
187
  export interface Ec2Config {
191
188
  /**
192
- * <p>The ARN of the subnet that DataSync uses to access the target EFS file
193
- * system.</p>
189
+ * <p>Specifies the ARN of a subnet where DataSync creates the <a href="https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces">network interfaces</a> for managing traffic during your transfer.</p>
190
+ * <p>The subnet must be located:</p>
191
+ * <ul>
192
+ * <li>
193
+ * <p>In the same virtual private cloud (VPC) as the Amazon EFS file system.</p>
194
+ * </li>
195
+ * <li>
196
+ * <p>In the same Availability Zone as at least one mount target for the Amazon EFS file
197
+ * system.</p>
198
+ * </li>
199
+ * </ul>
200
+ * <note>
201
+ * <p>You don't need to specify a subnet that includes a file system mount target.</p>
202
+ * </note>
194
203
  */
195
204
  SubnetArn: string | undefined;
196
205
  /**
197
- * <p>The Amazon Resource Names (ARNs) of the security groups that are configured for the
198
- * Amazon EC2 resource.</p>
206
+ * <p>Specifies the Amazon Resource Names (ARNs) of the security groups associated with an
207
+ * Amazon EFS file system's mount target.</p>
199
208
  */
200
209
  SecurityGroupArns: string[] | undefined;
201
210
  }
@@ -205,58 +214,52 @@ export declare namespace Ec2Config {
205
214
  */
206
215
  const filterSensitiveLog: (obj: Ec2Config) => any;
207
216
  }
217
+ export declare enum EfsInTransitEncryption {
218
+ NONE = "NONE",
219
+ TLS1_2 = "TLS1_2"
220
+ }
208
221
  /**
209
222
  * <p>CreateLocationEfsRequest</p>
210
223
  */
211
224
  export interface CreateLocationEfsRequest {
212
225
  /**
213
- * <p>A subdirectory in the location’s path. This subdirectory in the EFS file system is used
214
- * to read data from the EFS source location or write data to the EFS destination. By default,
215
- * DataSync uses the root directory.</p>
226
+ * <p>Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.</p>
216
227
  * <note>
217
- * <p>
218
- * <code>Subdirectory</code> must be specified with forward slashes. For example,
219
- * <code>/path/to/folder</code>.</p>
228
+ * <p>You must specify a value with forward slashes (for example,
229
+ * <code>/path/to/folder</code>).</p>
220
230
  * </note>
221
231
  */
222
232
  Subdirectory?: string;
223
233
  /**
224
- * <p>The Amazon Resource Name (ARN) for the Amazon EFS file system.</p>
234
+ * <p>Specifies the ARN for the Amazon EFS file system.</p>
225
235
  */
226
236
  EfsFilesystemArn: string | undefined;
227
237
  /**
228
- * <p>The subnet and security group that the Amazon EFS file system uses. The security group
229
- * that you provide needs to be able to communicate with the security group on the mount target
230
- * in the subnet specified.</p>
231
- * <p>The exact relationship between security group M (of the mount target) and security
232
- * group S (which you provide for DataSync to use at this stage) is as follows: </p>
233
- * <ul>
234
- * <li>
235
- * <p> Security group M (which you associate with the mount target) must allow inbound
236
- * access for the Transmission Control Protocol (TCP) on the NFS port (2049) from security
237
- * group S. You can enable inbound connections either by IP address (CIDR range) or security
238
- * group. </p>
239
- * </li>
240
- * <li>
241
- * <p>Security group S (provided to DataSync to access EFS) should have a rule that
242
- * enables outbound connections to the NFS port on one of the file system’s mount targets.
243
- * You can enable outbound connections either by IP address (CIDR range) or security
244
- * group.</p>
245
- *
246
- * <p>For information about security groups and mount targets, see Security
247
- * Groups for Amazon EC2 Instances and Mount Targets in the <i>Amazon EFS User
248
- * Guide.</i>
249
- * </p>
250
- * </li>
251
- * </ul>
238
+ * <p>Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.</p>
252
239
  */
253
240
  Ec2Config: Ec2Config | undefined;
254
241
  /**
255
- * <p>The key-value pair that represents a tag that you want to add to the resource. The
256
- * value can be an empty string. This value helps you manage, filter, and search for your
257
- * resources. We recommend that you create a name tag for your location.</p>
242
+ * <p>Specifies the key-value pair that represents a tag that you want to add to the
243
+ * resource. The value can be an empty string. This value helps you manage, filter, and search
244
+ * for your resources. We recommend that you create a name tag for your location.</p>
258
245
  */
259
246
  Tags?: TagListEntry[];
247
+ /**
248
+ * <p>Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.</p>
249
+ */
250
+ AccessPointArn?: string;
251
+ /**
252
+ * <p>Specifies an Identity and Access Management (IAM) role that DataSync
253
+ * assumes when mounting the Amazon EFS file system.</p>
254
+ */
255
+ FileSystemAccessRoleArn?: string;
256
+ /**
257
+ * <p>Specifies whether you want DataSync to use TLS encryption when transferring data to or from your Amazon EFS file system.</p>
258
+ * <p>If you specify an access point using <code>AccessPointArn</code> or an IAM
259
+ * role using <code>FileSystemAccessRoleArn</code>, you must set this parameter to
260
+ * <code>TLS1_2</code>.</p>
261
+ */
262
+ InTransitEncryption?: EfsInTransitEncryption | string;
260
263
  }
261
264
  export declare namespace CreateLocationEfsRequest {
262
265
  /**
@@ -269,8 +272,8 @@ export declare namespace CreateLocationEfsRequest {
269
272
  */
270
273
  export interface CreateLocationEfsResponse {
271
274
  /**
272
- * <p>The Amazon Resource Name (ARN) of the Amazon EFS file system location that is
273
- * created.</p>
275
+ * <p>The Amazon Resource Name (ARN) of the Amazon EFS file system location that you
276
+ * create.</p>
274
277
  */
275
278
  LocationArn?: string;
276
279
  }
@@ -1634,7 +1637,7 @@ export declare namespace DescribeAgentResponse {
1634
1637
  */
1635
1638
  export interface DescribeLocationEfsRequest {
1636
1639
  /**
1637
- * <p>The Amazon Resource Name (ARN) of the EFS location to describe.</p>
1640
+ * <p>The Amazon Resource Name (ARN) of the Amazon EFS file system location that you want information about.</p>
1638
1641
  */
1639
1642
  LocationArn: string | undefined;
1640
1643
  }
@@ -1649,24 +1652,33 @@ export declare namespace DescribeLocationEfsRequest {
1649
1652
  */
1650
1653
  export interface DescribeLocationEfsResponse {
1651
1654
  /**
1652
- * <p>The Amazon Resource Name (ARN) of the EFS location that was described.</p>
1655
+ * <p>The ARN of the Amazon EFS file system location.</p>
1653
1656
  */
1654
1657
  LocationArn?: string;
1655
1658
  /**
1656
- * <p>The URL of the EFS location that was described.</p>
1659
+ * <p>The URL of the Amazon EFS file system location.</p>
1657
1660
  */
1658
1661
  LocationUri?: string;
1659
1662
  /**
1660
- * <p>The subnet that DataSync uses to access target EFS file system. The
1661
- * subnet must have at least one mount target for that file system. The security group that you
1662
- * provide needs to be able to communicate with the security group on the mount target in the
1663
- * subnet specified. </p>
1663
+ * <p>The subnet and security groups that DataSync uses to access your Amazon EFS file system.</p>
1664
1664
  */
1665
1665
  Ec2Config?: Ec2Config;
1666
1666
  /**
1667
- * <p>The time that the EFS location was created.</p>
1667
+ * <p>The time that the location was created.</p>
1668
1668
  */
1669
1669
  CreationTime?: Date;
1670
+ /**
1671
+ * <p>The ARN of the access point that DataSync uses to access the Amazon EFS file system.</p>
1672
+ */
1673
+ AccessPointArn?: string;
1674
+ /**
1675
+ * <p>The Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.</p>
1676
+ */
1677
+ FileSystemAccessRoleArn?: string;
1678
+ /**
1679
+ * <p>Whether DataSync uses TLS encryption when transferring data to or from your Amazon EFS file system.</p>
1680
+ */
1681
+ InTransitEncryption?: EfsInTransitEncryption | string;
1670
1682
  }
1671
1683
  export declare namespace DescribeLocationEfsResponse {
1672
1684
  /**
@@ -103,6 +103,10 @@ export declare namespace Ec2Config {
103
103
 
104
104
  const filterSensitiveLog: (obj: Ec2Config) => any;
105
105
  }
106
+ export declare enum EfsInTransitEncryption {
107
+ NONE = "NONE",
108
+ TLS1_2 = "TLS1_2"
109
+ }
106
110
 
107
111
  export interface CreateLocationEfsRequest {
108
112
 
@@ -113,6 +117,12 @@ export interface CreateLocationEfsRequest {
113
117
  Ec2Config: Ec2Config | undefined;
114
118
 
115
119
  Tags?: TagListEntry[];
120
+
121
+ AccessPointArn?: string;
122
+
123
+ FileSystemAccessRoleArn?: string;
124
+
125
+ InTransitEncryption?: EfsInTransitEncryption | string;
116
126
  }
117
127
  export declare namespace CreateLocationEfsRequest {
118
128
 
@@ -744,6 +754,12 @@ export interface DescribeLocationEfsResponse {
744
754
  Ec2Config?: Ec2Config;
745
755
 
746
756
  CreationTime?: Date;
757
+
758
+ AccessPointArn?: string;
759
+
760
+ FileSystemAccessRoleArn?: string;
761
+
762
+ InTransitEncryption?: EfsInTransitEncryption | string;
747
763
  }
748
764
  export declare namespace DescribeLocationEfsResponse {
749
765
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-datasync",
3
3
  "description": "AWS SDK for JavaScript Datasync Client for Node.js, Browser and React Native",
4
- "version": "3.100.0",
4
+ "version": "3.101.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",