aws-sdk-datasync 1.10.0 → 1.11.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a27f168f519419011878b93c494766a4c975cb66
4
- data.tar.gz: cd93ca24a4ab0f4b1d81bff71f4574b238dfa35f
3
+ metadata.gz: 9eca12aeec2364d219f4dc1db9c781ce6156a523
4
+ data.tar.gz: 7d8a49f479041c3a336c99e253e6adae5d845591
5
5
  SHA512:
6
- metadata.gz: 629c3465c77eee7e845981de26d73446d81e59f6a63790d4641ab9e3026faca1a43bce52764f6cc830d72b78875ab40a0f05c27ff1a01bbf50ef9582c73f5bcc
7
- data.tar.gz: a22da59f2868d76e4bd09121a7e0fd0e3adc0df246e2e02167e45e39d9baddc840bcb8321aaf03c54f6a68c252a724349e1d192766008642891e76ac50fdb6cf
6
+ metadata.gz: 4d4b0dbe70704198ee0686955051b2147e83cdfb5dd0a24a02ed766295644d13a0b226a72327dc77e5f660a28ec4c79b0b906f419d2a7595b227fcdee634c0a4
7
+ data.tar.gz: 1149a9844e46971221f3045945e0272f8495600f439490ae825192eee6f050d274cbb6223cfe5b42b7f750fd64c537c72246a1f0d6e6d3799879e8f8d474fa45
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-datasync/customizations'
42
42
  # @service
43
43
  module Aws::DataSync
44
44
 
45
- GEM_VERSION = '1.10.0'
45
+ GEM_VERSION = '1.11.0'
46
46
 
47
47
  end
@@ -303,15 +303,15 @@ module Aws::DataSync
303
303
  # AWS Region where your target locations (in Amazon S3 or Amazon EFS)
304
304
  # reside. Your tasks are created in this AWS Region.
305
305
  #
306
+ # You can activate the agent in a VPC (Virtual private Cloud) or provide
307
+ # the agent access to a VPC endpoint so you can run tasks without going
308
+ # over the public Internet.
309
+ #
306
310
  # You can use an agent for more than one location. If a task uses
307
311
  # multiple agents, all of them need to have status AVAILABLE for the
308
312
  # task to run. If you use multiple agents for a source location, the
309
313
  # status of all the agents must be AVAILABLE for the task to run.
310
314
  #
311
- # For more information, see
312
- # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html#activating-agent"
313
- # (Activating an Agent) in the *AWS DataSync User Guide.*
314
- #
315
315
  # Agents are automatically updated by AWS on a regular basis, using a
316
316
  # mechanism that ensures minimal interruption to your tasks.
317
317
  #
@@ -327,9 +327,8 @@ module Aws::DataSync
327
327
  # are merely defaults. The arguments you pass to this API call determine
328
328
  # the actual configuration of your agent.
329
329
  #
330
- # For more information, see
331
- # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html#activating-agent"
332
- # (Activating a Agent) in the *AWS DataSync User Guide.*
330
+ # For more information, see Activating an Agent in the *AWS DataSync
331
+ # User Guide.*
333
332
  #
334
333
  # @option params [String] :agent_name
335
334
  # The name you configured for your agent. This value is a text reference
@@ -346,6 +345,33 @@ module Aws::DataSync
346
345
  #
347
346
  # </note>
348
347
  #
348
+ # @option params [String] :vpc_endpoint_id
349
+ # The ID of the VPC (Virtual Private Cloud) endpoint that the agent has
350
+ # access to. This is the client-side VPC endpoint, also called a
351
+ # PrivateLink. If you don't have a PrivateLink VPC endpoint, see
352
+ # [Creating a VPC Endpoint Service Configuration][1] in the AWS VPC User
353
+ # Guide.
354
+ #
355
+ # VPC endpoint ID looks like this: `vpce-01234d5aff67890e1`.
356
+ #
357
+ #
358
+ #
359
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html#create-endpoint-service
360
+ #
361
+ # @option params [Array<String>] :subnet_arns
362
+ # The Amazon Resource Names (ARNs) of the subnets in which DataSync will
363
+ # create Elastic Network Interfaces (ENIs) for each data transfer task.
364
+ # The agent that runs a task must be private. When you start a task that
365
+ # is associated with an agent created in a VPC, or one that has access
366
+ # to an IP address in a VPC, then the task is also private. In this
367
+ # case, DataSync creates four ENIs for each task in your subnet. For a
368
+ # data transfer to work, the agent must be able to route to all these
369
+ # four ENIs.
370
+ #
371
+ # @option params [Array<String>] :security_group_arns
372
+ # The ARNs of the security groups used to protect your data transfer
373
+ # task subnets. See CreateAgentRequest$SubnetArns.
374
+ #
349
375
  # @return [Types::CreateAgentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
350
376
  #
351
377
  # * {Types::CreateAgentResponse#agent_arn #agent_arn} => String
@@ -361,6 +387,9 @@ module Aws::DataSync
361
387
  # value: "TagValue",
362
388
  # },
363
389
  # ],
390
+ # vpc_endpoint_id: "VpcEndpointId",
391
+ # subnet_arns: ["Ec2SubnetArn"],
392
+ # security_group_arns: ["Ec2SecurityGroupArn"],
364
393
  # })
365
394
  #
366
395
  # @example Response structure
@@ -407,9 +436,8 @@ module Aws::DataSync
407
436
  # either by IP address (CIDR range) or security group.
408
437
  #
409
438
  # For information about security groups and mount targets, see
410
- # "https://docs.aws.amazon.com/efs/latest/ug/security-considerations.html#network-access"
411
- # (Security Groups for Amazon EC2 Instances and Mount Targets) in the
412
- # *Amazon EFS User Guide*.
439
+ # Security Groups for Amazon EC2 Instances and Mount Targets in the
440
+ # *Amazon EFS User Guide.*
413
441
  #
414
442
  # @option params [Array<Types::TagListEntry>] :tags
415
443
  # The key-value pair that represents a tag that you want to add to the
@@ -474,9 +502,9 @@ module Aws::DataSync
474
502
  # files. For the agent to access directories, you must additionally
475
503
  # enable all execute access.
476
504
  #
477
- # For information about NFS export configuration, see
478
- # "http://web.mit.edu/rhel-doc/5/RHEL-5-manual/Deployment\_Guide-en-US/s1-nfs-server-config-exports.html"
479
- # (18.7. The /etc/exports Configuration File).
505
+ # For information about NFS export configuration, see 18.7. The
506
+ # /etc/exports Configuration File in the Red Hat Enterprise Linux
507
+ # documentation.
480
508
  #
481
509
  # @option params [required, String] :server_hostname
482
510
  # The name of the NFS server. This value is the IP address or Domain
@@ -545,10 +573,8 @@ module Aws::DataSync
545
573
  # policy to the role. An example of such a policy is shown in the
546
574
  # examples section.
547
575
  #
548
- # For more information, see
549
- # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location"
550
- # (Configuring Amazon S3 Location Settings) in the *AWS DataSync User
551
- # Guide*.
576
+ # For more information, see Configuring Amazon S3 Location Settings in
577
+ # the *AWS DataSync User Guide.*
552
578
  #
553
579
  # @option params [String] :subdirectory
554
580
  # A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3
@@ -562,9 +588,8 @@ module Aws::DataSync
562
588
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
563
589
  # Management (IAM) role that is used to access an Amazon S3 bucket.
564
590
  #
565
- # For detailed information about using such a role, see
566
- # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location"
567
- # (Creating a Location for Amazon S3) in the *AWS DataSync User Guide*.
591
+ # For detailed information about using such a role, see Creating a
592
+ # Location for Amazon S3 in the *AWS DataSync User Guide*.
568
593
  #
569
594
  # @option params [Array<Types::TagListEntry>] :tags
570
595
  # The key-value pair that represents the tag that you want to add to the
@@ -633,14 +658,11 @@ module Aws::DataSync
633
658
  # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
634
659
  # is used to monitor and log events in the task.
635
660
  #
636
- # For more information on these groups, see
637
- # "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html"
638
- # (Working with Log Groups and Log Streams) in the *Amazon CloudWatch
639
- # User Guide*.
661
+ # For more information on these groups, see Working with Log Groups and
662
+ # Log Streams in the *Amazon CloudWatch User Guide.*
640
663
  #
641
- # For more information about how to useCloudWatchLogs with DataSync, see
642
- # "https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html"
643
- # (Monitoring Your Task)
664
+ # For more information about how to use CloudWatch Logs with DataSync,
665
+ # see Monitoring Your Task in the *AWS DataSync User Guide.*
644
666
  #
645
667
  # @option params [String] :name
646
668
  # The name of a task. This value is a text reference that is used to
@@ -658,9 +680,10 @@ module Aws::DataSync
658
680
  # For more information, see the operation.
659
681
  #
660
682
  # @option params [Array<Types::FilterRule>] :excludes
661
- # A filter that determines which files to exclude from a task based on
662
- # the specified pattern. Transfers all files in the task’s subdirectory,
663
- # except files that match the filter that is set.
683
+ # A list of filter rules that determines which files to exclude from a
684
+ # task. The list should contain a single filter string that consists of
685
+ # the patterns to exclude. The patterns are delimited by "\|" (that
686
+ # is, a pipe), for example, `"/folder1|/folder2"`
664
687
  #
665
688
  # @option params [Array<Types::TagListEntry>] :tags
666
689
  # The key-value pair that represents the tag that you want to add to the
@@ -802,7 +825,7 @@ module Aws::DataSync
802
825
  # * {Types::DescribeAgentResponse#status #status} => String
803
826
  # * {Types::DescribeAgentResponse#last_connection_time #last_connection_time} => Time
804
827
  # * {Types::DescribeAgentResponse#creation_time #creation_time} => Time
805
- # * {Types::DescribeAgentResponse#endpoint_options #endpoint_options} => Types::EndpointOptions
828
+ # * {Types::DescribeAgentResponse#endpoint_type #endpoint_type} => String
806
829
  # * {Types::DescribeAgentResponse#private_link_config #private_link_config} => Types::PrivateLinkConfig
807
830
  #
808
831
  # @example Request syntax with placeholder values
@@ -818,8 +841,8 @@ module Aws::DataSync
818
841
  # resp.status #=> String, one of "ONLINE", "OFFLINE"
819
842
  # resp.last_connection_time #=> Time
820
843
  # resp.creation_time #=> Time
821
- # resp.endpoint_options.fips #=> Boolean
822
- # resp.endpoint_options.private_link #=> Boolean
844
+ # resp.endpoint_type #=> String, one of "PUBLIC", "PRIVATE_LINK"
845
+ # resp.private_link_config.vpc_endpoint_id #=> String
823
846
  # resp.private_link_config.private_link_endpoint #=> String
824
847
  # resp.private_link_config.subnet_arns #=> Array
825
848
  # resp.private_link_config.subnet_arns[0] #=> String
@@ -959,6 +982,8 @@ module Aws::DataSync
959
982
  # * {Types::DescribeTaskResponse#source_location_arn #source_location_arn} => String
960
983
  # * {Types::DescribeTaskResponse#destination_location_arn #destination_location_arn} => String
961
984
  # * {Types::DescribeTaskResponse#cloud_watch_log_group_arn #cloud_watch_log_group_arn} => String
985
+ # * {Types::DescribeTaskResponse#source_network_interface_arns #source_network_interface_arns} => Array&lt;String&gt;
986
+ # * {Types::DescribeTaskResponse#destination_network_interface_arns #destination_network_interface_arns} => Array&lt;String&gt;
962
987
  # * {Types::DescribeTaskResponse#options #options} => Types::Options
963
988
  # * {Types::DescribeTaskResponse#excludes #excludes} => Array&lt;Types::FilterRule&gt;
964
989
  # * {Types::DescribeTaskResponse#error_code #error_code} => String
@@ -980,6 +1005,10 @@ module Aws::DataSync
980
1005
  # resp.source_location_arn #=> String
981
1006
  # resp.destination_location_arn #=> String
982
1007
  # resp.cloud_watch_log_group_arn #=> String
1008
+ # resp.source_network_interface_arns #=> Array
1009
+ # resp.source_network_interface_arns[0] #=> String
1010
+ # resp.destination_network_interface_arns #=> Array
1011
+ # resp.destination_network_interface_arns[0] #=> String
983
1012
  # resp.options.verify_mode #=> String, one of "POINT_IN_TIME_CONSISTENT", "NONE"
984
1013
  # resp.options.atime #=> String, one of "NONE", "BEST_EFFORT"
985
1014
  # resp.options.mtime #=> String, one of "NONE", "PRESERVE"
@@ -1293,9 +1322,8 @@ module Aws::DataSync
1293
1322
  # `TaskExecution` has the following transition phases: INITIALIZING \|
1294
1323
  # PREPARING \| TRANSFERRING \| VERIFYING \| SUCCESS/FAILURE.
1295
1324
  #
1296
- # For detailed information, see *Task Execution* in
1297
- # "https://docs.aws.amazon.com/datasync/latest/userguide/how-datasync-works.html#terminology"
1298
- # (Components and Terminology) in the *AWS DataSync User Guide*.
1325
+ # For detailed information, see the Task Execution section in the
1326
+ # Components and Terminology topic in the *AWS DataSync User Guide*.
1299
1327
  #
1300
1328
  # @option params [required, String] :task_arn
1301
1329
  # The Amazon Resource Name (ARN) of the task to start.
@@ -1313,9 +1341,10 @@ module Aws::DataSync
1313
1341
  # specifying an overriding `Options` value to StartTaskExecution.
1314
1342
  #
1315
1343
  # @option params [Array<Types::FilterRule>] :includes
1316
- # A filter that determines which files to include in the transfer during
1317
- # a task execution based on the specified pattern in the filter. When
1318
- # multiple include filters are set, they are interpreted as an OR.
1344
+ # A list of filter rules that determines which files to include when
1345
+ # running a task. The pattern should contain a single filter string that
1346
+ # consists of the patterns to include. The patterns are delimited by
1347
+ # "\|" (that is, a pipe). For example: `"/folder1|/folder2"`
1319
1348
  #
1320
1349
  # @return [Types::StartTaskExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1321
1350
  #
@@ -1459,9 +1488,10 @@ module Aws::DataSync
1459
1488
  # specifying an overriding `Options` value to StartTaskExecution.
1460
1489
  #
1461
1490
  # @option params [Array<Types::FilterRule>] :excludes
1462
- # A filter that determines which files to exclude from a task based on
1463
- # the specified pattern in the filter. Transfers all files in the task’s
1464
- # subdirectory, except files that match the filter that is set.
1491
+ # A list of filter rules that determines which files to exclude from a
1492
+ # task. The list should contain a single filter string that consists of
1493
+ # the patterns to exclude. The patterns are delimited by "\|" (that
1494
+ # is, a pipe), for example: `"/folder1|/folder2"`
1465
1495
  #
1466
1496
  # @option params [String] :name
1467
1497
  # The name of the task to update.
@@ -1519,7 +1549,7 @@ module Aws::DataSync
1519
1549
  params: params,
1520
1550
  config: config)
1521
1551
  context[:gem_name] = 'aws-sdk-datasync'
1522
- context[:gem_version] = '1.10.0'
1552
+ context[:gem_version] = '1.11.0'
1523
1553
  Seahorse::Client::Request.new(handlers, context)
1524
1554
  end
1525
1555
 
@@ -49,13 +49,15 @@ module Aws::DataSync
49
49
  DescribeTaskExecutionResponse = Shapes::StructureShape.new(name: 'DescribeTaskExecutionResponse')
50
50
  DescribeTaskRequest = Shapes::StructureShape.new(name: 'DescribeTaskRequest')
51
51
  DescribeTaskResponse = Shapes::StructureShape.new(name: 'DescribeTaskResponse')
52
+ DestinationNetworkInterfaceArns = Shapes::ListShape.new(name: 'DestinationNetworkInterfaceArns')
52
53
  Duration = Shapes::IntegerShape.new(name: 'Duration')
53
54
  Ec2Config = Shapes::StructureShape.new(name: 'Ec2Config')
54
55
  Ec2SecurityGroupArn = Shapes::StringShape.new(name: 'Ec2SecurityGroupArn')
55
56
  Ec2SecurityGroupArnList = Shapes::ListShape.new(name: 'Ec2SecurityGroupArnList')
56
57
  Ec2SubnetArn = Shapes::StringShape.new(name: 'Ec2SubnetArn')
57
58
  EfsFilesystemArn = Shapes::StringShape.new(name: 'EfsFilesystemArn')
58
- EndpointOptions = Shapes::StructureShape.new(name: 'EndpointOptions')
59
+ Endpoint = Shapes::StringShape.new(name: 'Endpoint')
60
+ EndpointType = Shapes::StringShape.new(name: 'EndpointType')
59
61
  FilterList = Shapes::ListShape.new(name: 'FilterList')
60
62
  FilterRule = Shapes::StructureShape.new(name: 'FilterRule')
61
63
  FilterType = Shapes::StringShape.new(name: 'FilterType')
@@ -81,6 +83,7 @@ module Aws::DataSync
81
83
  LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
82
84
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
83
85
  Mtime = Shapes::StringShape.new(name: 'Mtime')
86
+ NetworkInterfaceArn = Shapes::StringShape.new(name: 'NetworkInterfaceArn')
84
87
  NextToken = Shapes::StringShape.new(name: 'NextToken')
85
88
  NfsMountOptions = Shapes::StructureShape.new(name: 'NfsMountOptions')
86
89
  NfsVersion = Shapes::StringShape.new(name: 'NfsVersion')
@@ -97,6 +100,7 @@ module Aws::DataSync
97
100
  S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
98
101
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
99
102
  ServerHostname = Shapes::StringShape.new(name: 'ServerHostname')
103
+ SourceNetworkInterfaceArns = Shapes::ListShape.new(name: 'SourceNetworkInterfaceArns')
100
104
  StartTaskExecutionRequest = Shapes::StructureShape.new(name: 'StartTaskExecutionRequest')
101
105
  StartTaskExecutionResponse = Shapes::StructureShape.new(name: 'StartTaskExecutionResponse')
102
106
  Subdirectory = Shapes::StringShape.new(name: 'Subdirectory')
@@ -126,7 +130,7 @@ module Aws::DataSync
126
130
  UpdateTaskRequest = Shapes::StructureShape.new(name: 'UpdateTaskRequest')
127
131
  UpdateTaskResponse = Shapes::StructureShape.new(name: 'UpdateTaskResponse')
128
132
  VerifyMode = Shapes::StringShape.new(name: 'VerifyMode')
129
- boolean = Shapes::BooleanShape.new(name: 'boolean')
133
+ VpcEndpointId = Shapes::StringShape.new(name: 'VpcEndpointId')
130
134
  long = Shapes::IntegerShape.new(name: 'long')
131
135
  string = Shapes::StringShape.new(name: 'string')
132
136
 
@@ -147,6 +151,9 @@ module Aws::DataSync
147
151
  CreateAgentRequest.add_member(:activation_key, Shapes::ShapeRef.new(shape: ActivationKey, required: true, location_name: "ActivationKey"))
148
152
  CreateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: TagValue, location_name: "AgentName"))
149
153
  CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
154
+ CreateAgentRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
155
+ CreateAgentRequest.add_member(:subnet_arns, Shapes::ShapeRef.new(shape: PLSubnetArnList, location_name: "SubnetArns"))
156
+ CreateAgentRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: PLSecurityGroupArnList, location_name: "SecurityGroupArns"))
150
157
  CreateAgentRequest.struct_class = Types::CreateAgentRequest
151
158
 
152
159
  CreateAgentResponse.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, location_name: "AgentArn"))
@@ -215,7 +222,7 @@ module Aws::DataSync
215
222
  DescribeAgentResponse.add_member(:status, Shapes::ShapeRef.new(shape: AgentStatus, location_name: "Status"))
216
223
  DescribeAgentResponse.add_member(:last_connection_time, Shapes::ShapeRef.new(shape: Time, location_name: "LastConnectionTime"))
217
224
  DescribeAgentResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
218
- DescribeAgentResponse.add_member(:endpoint_options, Shapes::ShapeRef.new(shape: EndpointOptions, location_name: "EndpointOptions"))
225
+ DescribeAgentResponse.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
219
226
  DescribeAgentResponse.add_member(:private_link_config, Shapes::ShapeRef.new(shape: PrivateLinkConfig, location_name: "PrivateLinkConfig"))
220
227
  DescribeAgentResponse.struct_class = Types::DescribeAgentResponse
221
228
 
@@ -274,6 +281,8 @@ module Aws::DataSync
274
281
  DescribeTaskResponse.add_member(:source_location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "SourceLocationArn"))
275
282
  DescribeTaskResponse.add_member(:destination_location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "DestinationLocationArn"))
276
283
  DescribeTaskResponse.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "CloudWatchLogGroupArn"))
284
+ DescribeTaskResponse.add_member(:source_network_interface_arns, Shapes::ShapeRef.new(shape: SourceNetworkInterfaceArns, location_name: "SourceNetworkInterfaceArns"))
285
+ DescribeTaskResponse.add_member(:destination_network_interface_arns, Shapes::ShapeRef.new(shape: DestinationNetworkInterfaceArns, location_name: "DestinationNetworkInterfaceArns"))
277
286
  DescribeTaskResponse.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
278
287
  DescribeTaskResponse.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
279
288
  DescribeTaskResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "ErrorCode"))
@@ -281,16 +290,14 @@ module Aws::DataSync
281
290
  DescribeTaskResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
282
291
  DescribeTaskResponse.struct_class = Types::DescribeTaskResponse
283
292
 
293
+ DestinationNetworkInterfaceArns.member = Shapes::ShapeRef.new(shape: NetworkInterfaceArn)
294
+
284
295
  Ec2Config.add_member(:subnet_arn, Shapes::ShapeRef.new(shape: Ec2SubnetArn, required: true, location_name: "SubnetArn"))
285
296
  Ec2Config.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
286
297
  Ec2Config.struct_class = Types::Ec2Config
287
298
 
288
299
  Ec2SecurityGroupArnList.member = Shapes::ShapeRef.new(shape: Ec2SecurityGroupArn)
289
300
 
290
- EndpointOptions.add_member(:fips, Shapes::ShapeRef.new(shape: boolean, location_name: "Fips"))
291
- EndpointOptions.add_member(:private_link, Shapes::ShapeRef.new(shape: boolean, location_name: "PrivateLink"))
292
- EndpointOptions.struct_class = Types::EndpointOptions
293
-
294
301
  FilterList.member = Shapes::ShapeRef.new(shape: FilterRule)
295
302
 
296
303
  FilterRule.add_member(:filter_type, Shapes::ShapeRef.new(shape: FilterType, location_name: "FilterType"))
@@ -374,7 +381,8 @@ module Aws::DataSync
374
381
 
375
382
  PLSubnetArnList.member = Shapes::ShapeRef.new(shape: Ec2SubnetArn)
376
383
 
377
- PrivateLinkConfig.add_member(:private_link_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "PrivateLinkEndpoint"))
384
+ PrivateLinkConfig.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
385
+ PrivateLinkConfig.add_member(:private_link_endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "PrivateLinkEndpoint"))
378
386
  PrivateLinkConfig.add_member(:subnet_arns, Shapes::ShapeRef.new(shape: PLSubnetArnList, location_name: "SubnetArns"))
379
387
  PrivateLinkConfig.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: PLSecurityGroupArnList, location_name: "SecurityGroupArns"))
380
388
  PrivateLinkConfig.struct_class = Types::PrivateLinkConfig
@@ -382,6 +390,8 @@ module Aws::DataSync
382
390
  S3Config.add_member(:bucket_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "BucketAccessRoleArn"))
383
391
  S3Config.struct_class = Types::S3Config
384
392
 
393
+ SourceNetworkInterfaceArns.member = Shapes::ShapeRef.new(shape: NetworkInterfaceArn)
394
+
385
395
  StartTaskExecutionRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
386
396
  StartTaskExecutionRequest.add_member(:override_options, Shapes::ShapeRef.new(shape: Options, location_name: "OverrideOptions"))
387
397
  StartTaskExecutionRequest.add_member(:includes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Includes"))
@@ -71,6 +71,9 @@ module Aws::DataSync
71
71
  # value: "TagValue",
72
72
  # },
73
73
  # ],
74
+ # vpc_endpoint_id: "VpcEndpointId",
75
+ # subnet_arns: ["Ec2SubnetArn"],
76
+ # security_group_arns: ["Ec2SecurityGroupArn"],
74
77
  # }
75
78
  #
76
79
  # @!attribute [rw] activation_key
@@ -86,9 +89,8 @@ module Aws::DataSync
86
89
  # pass to this API call determine the actual configuration of your
87
90
  # agent.
88
91
  #
89
- # For more information, see
90
- # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html#activating-agent"
91
- # (Activating a Agent) in the *AWS DataSync User Guide.*
92
+ # For more information, see Activating an Agent in the *AWS DataSync
93
+ # User Guide.*
92
94
  # @return [String]
93
95
  #
94
96
  # @!attribute [rw] agent_name
@@ -108,12 +110,45 @@ module Aws::DataSync
108
110
  # </note>
109
111
  # @return [Array<Types::TagListEntry>]
110
112
  #
113
+ # @!attribute [rw] vpc_endpoint_id
114
+ # The ID of the VPC (Virtual Private Cloud) endpoint that the agent
115
+ # has access to. This is the client-side VPC endpoint, also called a
116
+ # PrivateLink. If you don't have a PrivateLink VPC endpoint, see
117
+ # [Creating a VPC Endpoint Service Configuration][1] in the AWS VPC
118
+ # User Guide.
119
+ #
120
+ # VPC endpoint ID looks like this: `vpce-01234d5aff67890e1`.
121
+ #
122
+ #
123
+ #
124
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html#create-endpoint-service
125
+ # @return [String]
126
+ #
127
+ # @!attribute [rw] subnet_arns
128
+ # The Amazon Resource Names (ARNs) of the subnets in which DataSync
129
+ # will create Elastic Network Interfaces (ENIs) for each data transfer
130
+ # task. The agent that runs a task must be private. When you start a
131
+ # task that is associated with an agent created in a VPC, or one that
132
+ # has access to an IP address in a VPC, then the task is also private.
133
+ # In this case, DataSync creates four ENIs for each task in your
134
+ # subnet. For a data transfer to work, the agent must be able to route
135
+ # to all these four ENIs.
136
+ # @return [Array<String>]
137
+ #
138
+ # @!attribute [rw] security_group_arns
139
+ # The ARNs of the security groups used to protect your data transfer
140
+ # task subnets. See CreateAgentRequest$SubnetArns.
141
+ # @return [Array<String>]
142
+ #
111
143
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateAgentRequest AWS API Documentation
112
144
  #
113
145
  class CreateAgentRequest < Struct.new(
114
146
  :activation_key,
115
147
  :agent_name,
116
- :tags)
148
+ :tags,
149
+ :vpc_endpoint_id,
150
+ :subnet_arns,
151
+ :security_group_arns)
117
152
  include Aws::Structure
118
153
  end
119
154
 
@@ -184,9 +219,8 @@ module Aws::DataSync
184
219
  # connections either by IP address (CIDR range) or security group.
185
220
  #
186
221
  # For information about security groups and mount targets, see
187
- # "https://docs.aws.amazon.com/efs/latest/ug/security-considerations.html#network-access"
188
- # (Security Groups for Amazon EC2 Instances and Mount Targets) in
189
- # the *Amazon EFS User Guide*.
222
+ # Security Groups for Amazon EC2 Instances and Mount Targets in the
223
+ # *Amazon EFS User Guide.*
190
224
  # @return [Types::Ec2Config]
191
225
  #
192
226
  # @!attribute [rw] tags
@@ -263,9 +297,9 @@ module Aws::DataSync
263
297
  # files. For the agent to access directories, you must additionally
264
298
  # enable all execute access.
265
299
  #
266
- # For information about NFS export configuration, see
267
- # "http://web.mit.edu/rhel-doc/5/RHEL-5-manual/Deployment\_Guide-en-US/s1-nfs-server-config-exports.html"
268
- # (18.7. The /etc/exports Configuration File).
300
+ # For information about NFS export configuration, see 18.7. The
301
+ # /etc/exports Configuration File in the Red Hat Enterprise Linux
302
+ # documentation.
269
303
  # @return [String]
270
304
  #
271
305
  # @!attribute [rw] server_hostname
@@ -353,10 +387,8 @@ module Aws::DataSync
353
387
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
354
388
  # Management (IAM) role that is used to access an Amazon S3 bucket.
355
389
  #
356
- # For detailed information about using such a role, see
357
- # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location"
358
- # (Creating a Location for Amazon S3) in the *AWS DataSync User
359
- # Guide*.
390
+ # For detailed information about using such a role, see Creating a
391
+ # Location for Amazon S3 in the *AWS DataSync User Guide*.
360
392
  # @return [Types::S3Config]
361
393
  #
362
394
  # @!attribute [rw] tags
@@ -437,15 +469,11 @@ module Aws::DataSync
437
469
  # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group
438
470
  # that is used to monitor and log events in the task.
439
471
  #
440
- # For more information on these groups, see
441
- # "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html"
442
- # (Working with Log Groups and Log Streams) in the *Amazon CloudWatch
443
- # User Guide*.
472
+ # For more information on these groups, see Working with Log Groups
473
+ # and Log Streams in the *Amazon CloudWatch User Guide.*
444
474
  #
445
- # For more information about how to useCloudWatchLogs with DataSync,
446
- # see
447
- # "https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html"
448
- # (Monitoring Your Task)
475
+ # For more information about how to use CloudWatch Logs with DataSync,
476
+ # see Monitoring Your Task in the *AWS DataSync User Guide.*
449
477
  # @return [String]
450
478
  #
451
479
  # @!attribute [rw] name
@@ -466,9 +494,10 @@ module Aws::DataSync
466
494
  # @return [Types::Options]
467
495
  #
468
496
  # @!attribute [rw] excludes
469
- # A filter that determines which files to exclude from a task based on
470
- # the specified pattern. Transfers all files in the task’s
471
- # subdirectory, except files that match the filter that is set.
497
+ # A list of filter rules that determines which files to exclude from a
498
+ # task. The list should contain a single filter string that consists
499
+ # of the patterns to exclude. The patterns are delimited by "\|"
500
+ # (that is, a pipe), for example, `"/folder1|/folder2"`
472
501
  # @return [Array<Types::FilterRule>]
473
502
  #
474
503
  # @!attribute [rw] tags
@@ -624,10 +653,15 @@ module Aws::DataSync
624
653
  # account).
625
654
  # @return [Time]
626
655
  #
627
- # @!attribute [rw] endpoint_options
628
- # @return [Types::EndpointOptions]
656
+ # @!attribute [rw] endpoint_type
657
+ # The type of endpoint that your agent is connected to. If the
658
+ # endpoint is a VPC endpoint, the agent is not accessible over the
659
+ # public Internet.
660
+ # @return [String]
629
661
  #
630
662
  # @!attribute [rw] private_link_config
663
+ # The subnet and the security group that DataSync used to access a VPC
664
+ # endpoint.
631
665
  # @return [Types::PrivateLinkConfig]
632
666
  #
633
667
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgentResponse AWS API Documentation
@@ -638,7 +672,7 @@ module Aws::DataSync
638
672
  :status,
639
673
  :last_connection_time,
640
674
  :creation_time,
641
- :endpoint_options,
675
+ :endpoint_type,
642
676
  :private_link_config)
643
677
  include Aws::Structure
644
678
  end
@@ -786,10 +820,8 @@ module Aws::DataSync
786
820
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
787
821
  # Management (IAM) role that is used to access an Amazon S3 bucket.
788
822
  #
789
- # For detailed information about using such a role, see
790
- # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location"
791
- # (Creating a Location for Amazon S3) in the *AWS DataSync User
792
- # Guide*.
823
+ # For detailed information about using such a role, see Creating a
824
+ # Location for Amazon S3 in the *AWS DataSync User Guide*.
793
825
  # @return [Types::S3Config]
794
826
  #
795
827
  # @!attribute [rw] creation_time
@@ -843,8 +875,7 @@ module Aws::DataSync
843
875
  # The status of the task execution.
844
876
  #
845
877
  # For detailed information about task execution statuses, see
846
- # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses"
847
- # (Understanding Task Statuses).
878
+ # Understanding Task Statuses in the *AWS DataSync User Guide.*
848
879
  # @return [String]
849
880
  #
850
881
  # @!attribute [rw] options
@@ -861,16 +892,17 @@ module Aws::DataSync
861
892
  # @return [Types::Options]
862
893
  #
863
894
  # @!attribute [rw] excludes
864
- # Specifies that the task execution excludes files from the transfer
865
- # based on the specified pattern in the filter. Transfers all files in
866
- # the task’s subdirectory, except files that match the filter that is
867
- # set.
895
+ # A list of filter rules that determines which files to exclude from a
896
+ # task. The list should contain a single filter string that consists
897
+ # of the patterns to exclude. The patterns are delimited by "\|"
898
+ # (that is, a pipe), for example: `"/folder1|/folder2"`
868
899
  # @return [Array<Types::FilterRule>]
869
900
  #
870
901
  # @!attribute [rw] includes
871
- # Specifies that the task execution excludes files in the transfer
872
- # based on the specified pattern in the filter. When multiple include
873
- # filters are set, they are interpreted as an OR.
902
+ # A list of filter rules that determines which files to include when
903
+ # running a task. The list should contain a single filter string that
904
+ # consists of the patterns to include. The patterns are delimited by
905
+ # "\|" (that is, a pipe), for example: `"/folder1|/folder2"`
874
906
  # @return [Array<Types::FilterRule>]
875
907
  #
876
908
  # @!attribute [rw] start_time
@@ -966,8 +998,7 @@ module Aws::DataSync
966
998
  # The status of the task that was described.
967
999
  #
968
1000
  # For detailed information about task execution statuses, see
969
- # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses"
970
- # (Understanding Task Statuses).
1001
+ # Understanding Task Statuses in the *AWS DataSync User Guide.*
971
1002
  # @return [String]
972
1003
  #
973
1004
  # @!attribute [rw] name
@@ -993,12 +1024,20 @@ module Aws::DataSync
993
1024
  # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group
994
1025
  # that was used to monitor and log events in the task.
995
1026
  #
996
- # For more information on these groups, see
997
- # "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html"
998
- # (Working with Log Groups and Log Streams) in the *Amazon CloudWatch
999
- # UserGuide*.
1027
+ # For more information on these groups, see Working with Log Groups
1028
+ # and Log Streams in the *Amazon CloudWatch User Guide*.
1000
1029
  # @return [String]
1001
1030
  #
1031
+ # @!attribute [rw] source_network_interface_arns
1032
+ # The Amazon Resource Name (ARN) of the source ENIs (Elastic Network
1033
+ # Interface) that was created for your subnet.
1034
+ # @return [Array<String>]
1035
+ #
1036
+ # @!attribute [rw] destination_network_interface_arns
1037
+ # The Amazon Resource Name (ARN) of the destination ENIs (Elastic
1038
+ # Network Interface) that was created for your subnet.
1039
+ # @return [Array<String>]
1040
+ #
1002
1041
  # @!attribute [rw] options
1003
1042
  # The set of configuration options that control the behavior of a
1004
1043
  # single execution of the task that occurs when you call
@@ -1011,9 +1050,10 @@ module Aws::DataSync
1011
1050
  # @return [Types::Options]
1012
1051
  #
1013
1052
  # @!attribute [rw] excludes
1014
- # Specifies that the task excludes files in the transfer based on the
1015
- # specified pattern in the filter. Transfers all files in the task’s
1016
- # subdirectory, except files that match the filter that is set.
1053
+ # A list of filter rules that determines which files to exclude from a
1054
+ # task. The list should contain a single filter string that consists
1055
+ # of the patterns to exclude. The patterns are delimited by "\|"
1056
+ # (that is, a pipe), for example: `"/folder1|/folder2"`
1017
1057
  # @return [Array<Types::FilterRule>]
1018
1058
  #
1019
1059
  # @!attribute [rw] error_code
@@ -1041,6 +1081,8 @@ module Aws::DataSync
1041
1081
  :source_location_arn,
1042
1082
  :destination_location_arn,
1043
1083
  :cloud_watch_log_group_arn,
1084
+ :source_network_interface_arns,
1085
+ :destination_network_interface_arns,
1044
1086
  :options,
1045
1087
  :excludes,
1046
1088
  :error_code,
@@ -1081,22 +1123,8 @@ module Aws::DataSync
1081
1123
  include Aws::Structure
1082
1124
  end
1083
1125
 
1084
- # @!attribute [rw] fips
1085
- # @return [Boolean]
1086
- #
1087
- # @!attribute [rw] private_link
1088
- # @return [Boolean]
1089
- #
1090
- # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/EndpointOptions AWS API Documentation
1091
- #
1092
- class EndpointOptions < Struct.new(
1093
- :fips,
1094
- :private_link)
1095
- include Aws::Structure
1096
- end
1097
-
1098
- # A pattern that determines which files to include in the transfer or
1099
- # which files to exclude.
1126
+ # Specifies which files, folders and objects to include or exclude when
1127
+ # transferring files from source to destination.
1100
1128
  #
1101
1129
  # @note When making an API call, you may pass FilterRule
1102
1130
  # data as a hash:
@@ -1107,13 +1135,14 @@ module Aws::DataSync
1107
1135
  # }
1108
1136
  #
1109
1137
  # @!attribute [rw] filter_type
1110
- # Specifies the type of filter rule pattern to apply. DataSync only
1111
- # supports the SIMPLE\_PATTERN rule type.
1138
+ # The type of filter rule to apply. AWS DataSync only supports the
1139
+ # SIMPLE\_PATTERN rule type.
1112
1140
  # @return [String]
1113
1141
  #
1114
1142
  # @!attribute [rw] value
1115
- # A pattern that defines the filter. The filter might include or
1116
- # exclude files is a transfer.
1143
+ # A single filter string that consists of the patterns to include or
1144
+ # exclude. The patterns are delimited by "\|" (that is, a pipe), for
1145
+ # example: `/folder1|/folder2`
1117
1146
  # @return [String]
1118
1147
  #
1119
1148
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FilterRule AWS API Documentation
@@ -1656,18 +1685,41 @@ module Aws::DataSync
1656
1685
  include Aws::Structure
1657
1686
  end
1658
1687
 
1688
+ # The VPC endpoint, subnet and security group that an agent uses to
1689
+ # access IP addresses in a VPC (Virtual Private Cloud).
1690
+ #
1691
+ # @!attribute [rw] vpc_endpoint_id
1692
+ # The ID of the VPC endpoint that is configured for an agent. An agent
1693
+ # that is configured with a VPC endpoint will not be accessible over
1694
+ # the public Internet.
1695
+ # @return [String]
1696
+ #
1659
1697
  # @!attribute [rw] private_link_endpoint
1698
+ # The private endpoint that is configured for an agent that has access
1699
+ # to IP addresses in a [PrivateLink][1]. An agent that is configured
1700
+ # with this endpoint will not be accessible over the public Internet.
1701
+ #
1702
+ #
1703
+ #
1704
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html
1660
1705
  # @return [String]
1661
1706
  #
1662
1707
  # @!attribute [rw] subnet_arns
1708
+ # The Amazon Resource Names (ARNs) of the subnets that are configured
1709
+ # for an agent activated in a VPC or an agent that has access to a VPC
1710
+ # endpoint.
1663
1711
  # @return [Array<String>]
1664
1712
  #
1665
1713
  # @!attribute [rw] security_group_arns
1714
+ # The Amazon Resource Names (ARNs) of the security groups that are
1715
+ # configured for the EC2 resource that hosts an agent activated in a
1716
+ # VPC or an agent that has access to a VPC endpoint.
1666
1717
  # @return [Array<String>]
1667
1718
  #
1668
1719
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/PrivateLinkConfig AWS API Documentation
1669
1720
  #
1670
1721
  class PrivateLinkConfig < Struct.new(
1722
+ :vpc_endpoint_id,
1671
1723
  :private_link_endpoint,
1672
1724
  :subnet_arns,
1673
1725
  :security_group_arns)
@@ -1677,9 +1729,8 @@ module Aws::DataSync
1677
1729
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
1678
1730
  # Management (IAM) role that is used to access an Amazon S3 bucket.
1679
1731
  #
1680
- # For detailed information about using such a role, see
1681
- # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location"
1682
- # (Creating a Location for Amazon S3) in the *AWS DataSync User Guide*.
1732
+ # For detailed information about using such a role, see Creating a
1733
+ # Location for Amazon S3 in the *AWS DataSync User Guide*.
1683
1734
  #
1684
1735
  # @note When making an API call, you may pass S3Config
1685
1736
  # data as a hash:
@@ -1744,10 +1795,10 @@ module Aws::DataSync
1744
1795
  # @return [Types::Options]
1745
1796
  #
1746
1797
  # @!attribute [rw] includes
1747
- # A filter that determines which files to include in the transfer
1748
- # during a task execution based on the specified pattern in the
1749
- # filter. When multiple include filters are set, they are interpreted
1750
- # as an OR.
1798
+ # A list of filter rules that determines which files to include when
1799
+ # running a task. The pattern should contain a single filter string
1800
+ # that consists of the patterns to include. The patterns are delimited
1801
+ # by "\|" (that is, a pipe). For example: `"/folder1|/folder2"`
1751
1802
  # @return [Array<Types::FilterRule>]
1752
1803
  #
1753
1804
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StartTaskExecutionRequest AWS API Documentation
@@ -2047,9 +2098,10 @@ module Aws::DataSync
2047
2098
  # @return [Types::Options]
2048
2099
  #
2049
2100
  # @!attribute [rw] excludes
2050
- # A filter that determines which files to exclude from a task based on
2051
- # the specified pattern in the filter. Transfers all files in the
2052
- # task’s subdirectory, except files that match the filter that is set.
2101
+ # A list of filter rules that determines which files to exclude from a
2102
+ # task. The list should contain a single filter string that consists
2103
+ # of the patterns to exclude. The patterns are delimited by "\|"
2104
+ # (that is, a pipe), for example: `"/folder1|/folder2"`
2053
2105
  # @return [Array<Types::FilterRule>]
2054
2106
  #
2055
2107
  # @!attribute [rw] name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-datasync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.5.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - DataSync