aws-sdk-datasync 1.12.0 → 1.13.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: a67e3fe4baa4298503075e3c7e8864f1e8c83ac5
4
- data.tar.gz: c10f88752e4437923698edeb759d4f415e37b48d
3
+ metadata.gz: 5f458b058ed492547cb3041caac790f25e62d789
4
+ data.tar.gz: c3d07f974564e816a86bb1e0f02f53342fd2a695
5
5
  SHA512:
6
- metadata.gz: a2728bc3947cae64c54690c4c8f0ed45151d5c63c3aa1d693c3d26777112b14aae77659dd27bddc1d5e3ab63f5d0a95cd2066df48eac13732c28432f2a4ff558
7
- data.tar.gz: dfdd06cf31a901bbf1066152555051f23fe005336dc7a68a85d2132dc9ba9ec71b0c02a3637d75dd8b9c974ffe141f530bea4be97cae1accbbe14d91a5b9f5a4
6
+ metadata.gz: 84a38886e8083bc81838654be2a5f8f82e5a1e5543149027b290a47b6640358c168a135063479758d52992495603c7c74b8d9034c77f9485444499f43ded1e58
7
+ data.tar.gz: 21b9a03ab5eff2cabc208293955b17bc27a4802ea31d9a134fcf42d4968b57c7fe9cae08bc82e7b86668ef8ff2afcc329f615a7644d7510b22a8852570d132f6
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-datasync/customizations'
42
42
  # @service
43
43
  module Aws::DataSync
44
44
 
45
- GEM_VERSION = '1.12.0'
45
+ GEM_VERSION = '1.13.0'
46
46
 
47
47
  end
@@ -360,13 +360,13 @@ module Aws::DataSync
360
360
  #
361
361
  # @option params [Array<String>] :subnet_arns
362
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.
363
+ # create elastic network interfaces for each data transfer task. The
364
+ # agent that runs a task must be private. When you start a task that is
365
+ # associated with an agent created in a VPC, or one that has access to
366
+ # an IP address in a VPC, then the task is also private. In this case,
367
+ # DataSync creates four network interfaces for each task in your subnet.
368
+ # For a data transfer to work, the agent must be able to route to all
369
+ # these four network interfaces.
370
370
  #
371
371
  # @option params [Array<String>] :security_group_arns
372
372
  # The ARNs of the security groups used to protect your data transfer
@@ -573,8 +573,9 @@ module Aws::DataSync
573
573
  # policy to the role. An example of such a policy is shown in the
574
574
  # examples section.
575
575
  #
576
- # For more information, see Configuring Amazon S3 Location Settings in
577
- # the *AWS DataSync User Guide.*
576
+ # For more information, see
577
+ # https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location
578
+ # in the *AWS DataSync User Guide.*
578
579
  #
579
580
  # @option params [String] :subdirectory
580
581
  # A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3
@@ -584,6 +585,18 @@ module Aws::DataSync
584
585
  # @option params [required, String] :s3_bucket_arn
585
586
  # The Amazon Resource Name (ARN) of the Amazon S3 bucket.
586
587
  #
588
+ # @option params [String] :s3_storage_class
589
+ # The Amazon S3 storage class that you want to store your files in when
590
+ # this location is used as a task destination. For more information
591
+ # about S3 storage classes, see [Amazon S3 Storage Classes][1] in the
592
+ # *Amazon Simple Storage Service Developer Guide*. Some storage classes
593
+ # have behaviors that can affect your S3 storage cost. For detailed
594
+ # information, see using-storage-classes.
595
+ #
596
+ #
597
+ #
598
+ # [1]: https://aws.amazon.com/s3/storage-classes/
599
+ #
587
600
  # @option params [required, Types::S3Config] :s3_config
588
601
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
589
602
  # Management (IAM) role that is used to access an Amazon S3 bucket.
@@ -605,6 +618,7 @@ module Aws::DataSync
605
618
  # resp = client.create_location_s3({
606
619
  # subdirectory: "Subdirectory",
607
620
  # s3_bucket_arn: "S3BucketArn", # required
621
+ # s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
608
622
  # s3_config: { # required
609
623
  # bucket_access_role_arn: "IamRoleArn", # required
610
624
  # },
@@ -651,7 +665,7 @@ module Aws::DataSync
651
665
  # @option params [required, String] :server_hostname
652
666
  # The name of the SMB server. This value is the IP address or Domain
653
667
  # Name Service (DNS) name of the SMB server. An agent that is installed
654
- # on-premises uses this host name to mount the SMB server in a network.
668
+ # on-premises uses this hostname to mount the SMB server in a network.
655
669
  #
656
670
  # <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
657
671
  # (IPv4) address.
@@ -660,21 +674,21 @@ module Aws::DataSync
660
674
  #
661
675
  # @option params [required, String] :user
662
676
  # The user who can mount the share, has the permissions to access files
663
- # and directories in the SMB share.
677
+ # and folders in the SMB share.
664
678
  #
665
679
  # @option params [String] :domain
666
- # The name of the domain that the SMB server belongs to.
680
+ # The name of the Windows domain that the SMB server belongs to.
667
681
  #
668
682
  # @option params [required, String] :password
669
- # The password of the user who has permission to access the SMB server.
683
+ # The password of the user who can mount the share, has the permissions
684
+ # to access files and folders in the SMB share.
670
685
  #
671
686
  # @option params [required, Array<String>] :agent_arns
672
687
  # The Amazon Resource Names (ARNs) of agents to use for a Simple Message
673
688
  # Block (SMB) location.
674
689
  #
675
690
  # @option params [Types::SmbMountOptions] :mount_options
676
- # The mount options that are available for DataSync to use to access an
677
- # SMB location.
691
+ # The mount options used by DataSync to access the SMB server.
678
692
  #
679
693
  # @option params [Array<Types::TagListEntry>] :tags
680
694
  # The key-value pair that represents the tag that you want to add to the
@@ -790,7 +804,8 @@ module Aws::DataSync
790
804
  # cloud_watch_log_group_arn: "LogGroupArn",
791
805
  # name: "TagValue",
792
806
  # options: {
793
- # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, NONE
807
+ # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, ONLY_FILES_TRANSFERRED, NONE
808
+ # overwrite_mode: "ALWAYS", # accepts ALWAYS, NEVER
794
809
  # atime: "NONE", # accepts NONE, BEST_EFFORT
795
810
  # mtime: "NONE", # accepts NONE, PRESERVE
796
811
  # uid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
@@ -1032,6 +1047,7 @@ module Aws::DataSync
1032
1047
  #
1033
1048
  # * {Types::DescribeLocationS3Response#location_arn #location_arn} => String
1034
1049
  # * {Types::DescribeLocationS3Response#location_uri #location_uri} => String
1050
+ # * {Types::DescribeLocationS3Response#s3_storage_class #s3_storage_class} => String
1035
1051
  # * {Types::DescribeLocationS3Response#s3_config #s3_config} => Types::S3Config
1036
1052
  # * {Types::DescribeLocationS3Response#creation_time #creation_time} => Time
1037
1053
  #
@@ -1045,6 +1061,7 @@ module Aws::DataSync
1045
1061
  #
1046
1062
  # resp.location_arn #=> String
1047
1063
  # resp.location_uri #=> String
1064
+ # resp.s3_storage_class #=> String, one of "STANDARD", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE"
1048
1065
  # resp.s3_config.bucket_access_role_arn #=> String
1049
1066
  # resp.creation_time #=> Time
1050
1067
  #
@@ -1140,7 +1157,8 @@ module Aws::DataSync
1140
1157
  # resp.source_network_interface_arns[0] #=> String
1141
1158
  # resp.destination_network_interface_arns #=> Array
1142
1159
  # resp.destination_network_interface_arns[0] #=> String
1143
- # resp.options.verify_mode #=> String, one of "POINT_IN_TIME_CONSISTENT", "NONE"
1160
+ # resp.options.verify_mode #=> String, one of "POINT_IN_TIME_CONSISTENT", "ONLY_FILES_TRANSFERRED", "NONE"
1161
+ # resp.options.overwrite_mode #=> String, one of "ALWAYS", "NEVER"
1144
1162
  # resp.options.atime #=> String, one of "NONE", "BEST_EFFORT"
1145
1163
  # resp.options.mtime #=> String, one of "NONE", "PRESERVE"
1146
1164
  # resp.options.uid #=> String, one of "NONE", "INT_VALUE", "NAME", "BOTH"
@@ -1195,7 +1213,8 @@ module Aws::DataSync
1195
1213
  #
1196
1214
  # resp.task_execution_arn #=> String
1197
1215
  # resp.status #=> String, one of "LAUNCHING", "PREPARING", "TRANSFERRING", "VERIFYING", "SUCCESS", "ERROR"
1198
- # resp.options.verify_mode #=> String, one of "POINT_IN_TIME_CONSISTENT", "NONE"
1216
+ # resp.options.verify_mode #=> String, one of "POINT_IN_TIME_CONSISTENT", "ONLY_FILES_TRANSFERRED", "NONE"
1217
+ # resp.options.overwrite_mode #=> String, one of "ALWAYS", "NEVER"
1199
1218
  # resp.options.atime #=> String, one of "NONE", "BEST_EFFORT"
1200
1219
  # resp.options.mtime #=> String, one of "NONE", "PRESERVE"
1201
1220
  # resp.options.uid #=> String, one of "NONE", "INT_VALUE", "NAME", "BOTH"
@@ -1486,7 +1505,8 @@ module Aws::DataSync
1486
1505
  # resp = client.start_task_execution({
1487
1506
  # task_arn: "TaskArn", # required
1488
1507
  # override_options: {
1489
- # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, NONE
1508
+ # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, ONLY_FILES_TRANSFERRED, NONE
1509
+ # overwrite_mode: "ALWAYS", # accepts ALWAYS, NEVER
1490
1510
  # atime: "NONE", # accepts NONE, BEST_EFFORT
1491
1511
  # mtime: "NONE", # accepts NONE, PRESERVE
1492
1512
  # uid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
@@ -1638,7 +1658,8 @@ module Aws::DataSync
1638
1658
  # resp = client.update_task({
1639
1659
  # task_arn: "TaskArn", # required
1640
1660
  # options: {
1641
- # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, NONE
1661
+ # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, ONLY_FILES_TRANSFERRED, NONE
1662
+ # overwrite_mode: "ALWAYS", # accepts ALWAYS, NEVER
1642
1663
  # atime: "NONE", # accepts NONE, BEST_EFFORT
1643
1664
  # mtime: "NONE", # accepts NONE, PRESERVE
1644
1665
  # uid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
@@ -1680,7 +1701,7 @@ module Aws::DataSync
1680
1701
  params: params,
1681
1702
  config: config)
1682
1703
  context[:gem_name] = 'aws-sdk-datasync'
1683
- context[:gem_version] = '1.12.0'
1704
+ context[:gem_version] = '1.13.0'
1684
1705
  Seahorse::Client::Request.new(handlers, context)
1685
1706
  end
1686
1707
 
@@ -94,6 +94,7 @@ module Aws::DataSync
94
94
  NonEmptySubdirectory = Shapes::StringShape.new(name: 'NonEmptySubdirectory')
95
95
  OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
96
96
  Options = Shapes::StructureShape.new(name: 'Options')
97
+ OverwriteMode = Shapes::StringShape.new(name: 'OverwriteMode')
97
98
  PLSecurityGroupArnList = Shapes::ListShape.new(name: 'PLSecurityGroupArnList')
98
99
  PLSubnetArnList = Shapes::ListShape.new(name: 'PLSubnetArnList')
99
100
  PhaseStatus = Shapes::StringShape.new(name: 'PhaseStatus')
@@ -103,6 +104,7 @@ module Aws::DataSync
103
104
  PrivateLinkConfig = Shapes::StructureShape.new(name: 'PrivateLinkConfig')
104
105
  S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
105
106
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
107
+ S3StorageClass = Shapes::StringShape.new(name: 'S3StorageClass')
106
108
  ServerHostname = Shapes::StringShape.new(name: 'ServerHostname')
107
109
  SmbDomain = Shapes::StringShape.new(name: 'SmbDomain')
108
110
  SmbMountOptions = Shapes::StructureShape.new(name: 'SmbMountOptions')
@@ -189,6 +191,7 @@ module Aws::DataSync
189
191
 
190
192
  CreateLocationS3Request.add_member(:subdirectory, Shapes::ShapeRef.new(shape: Subdirectory, location_name: "Subdirectory"))
191
193
  CreateLocationS3Request.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "S3BucketArn"))
194
+ CreateLocationS3Request.add_member(:s3_storage_class, Shapes::ShapeRef.new(shape: S3StorageClass, location_name: "S3StorageClass"))
192
195
  CreateLocationS3Request.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, required: true, location_name: "S3Config"))
193
196
  CreateLocationS3Request.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
194
197
  CreateLocationS3Request.struct_class = Types::CreateLocationS3Request
@@ -272,6 +275,7 @@ module Aws::DataSync
272
275
 
273
276
  DescribeLocationS3Response.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
274
277
  DescribeLocationS3Response.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
278
+ DescribeLocationS3Response.add_member(:s3_storage_class, Shapes::ShapeRef.new(shape: S3StorageClass, location_name: "S3StorageClass"))
275
279
  DescribeLocationS3Response.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "S3Config"))
276
280
  DescribeLocationS3Response.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
277
281
  DescribeLocationS3Response.struct_class = Types::DescribeLocationS3Response
@@ -401,6 +405,7 @@ module Aws::DataSync
401
405
  OnPremConfig.struct_class = Types::OnPremConfig
402
406
 
403
407
  Options.add_member(:verify_mode, Shapes::ShapeRef.new(shape: VerifyMode, location_name: "VerifyMode"))
408
+ Options.add_member(:overwrite_mode, Shapes::ShapeRef.new(shape: OverwriteMode, location_name: "OverwriteMode"))
404
409
  Options.add_member(:atime, Shapes::ShapeRef.new(shape: Atime, location_name: "Atime"))
405
410
  Options.add_member(:mtime, Shapes::ShapeRef.new(shape: Mtime, location_name: "Mtime"))
406
411
  Options.add_member(:uid, Shapes::ShapeRef.new(shape: Uid, location_name: "Uid"))
@@ -126,13 +126,13 @@ module Aws::DataSync
126
126
  #
127
127
  # @!attribute [rw] subnet_arns
128
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.
129
+ # will create elastic network interfaces for each data transfer task.
130
+ # The agent that runs a task must be private. When you start a task
131
+ # that is associated with an agent created in a VPC, or one that has
132
+ # access to an IP address in a VPC, then the task is also private. In
133
+ # this case, DataSync creates four network interfaces for each task in
134
+ # your subnet. For a data transfer to work, the agent must be able to
135
+ # route to all these four network interfaces.
136
136
  # @return [Array<String>]
137
137
  #
138
138
  # @!attribute [rw] security_group_arns
@@ -362,6 +362,7 @@ module Aws::DataSync
362
362
  # {
363
363
  # subdirectory: "Subdirectory",
364
364
  # s3_bucket_arn: "S3BucketArn", # required
365
+ # s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
365
366
  # s3_config: { # required
366
367
  # bucket_access_role_arn: "IamRoleArn", # required
367
368
  # },
@@ -383,6 +384,19 @@ module Aws::DataSync
383
384
  # The Amazon Resource Name (ARN) of the Amazon S3 bucket.
384
385
  # @return [String]
385
386
  #
387
+ # @!attribute [rw] s3_storage_class
388
+ # The Amazon S3 storage class that you want to store your files in
389
+ # when this location is used as a task destination. For more
390
+ # information about S3 storage classes, see [Amazon S3 Storage
391
+ # Classes][1] in the *Amazon Simple Storage Service Developer Guide*.
392
+ # Some storage classes have behaviors that can affect your S3 storage
393
+ # cost. For detailed information, see using-storage-classes.
394
+ #
395
+ #
396
+ #
397
+ # [1]: https://aws.amazon.com/s3/storage-classes/
398
+ # @return [String]
399
+ #
386
400
  # @!attribute [rw] s3_config
387
401
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
388
402
  # Management (IAM) role that is used to access an Amazon S3 bucket.
@@ -402,6 +416,7 @@ module Aws::DataSync
402
416
  class CreateLocationS3Request < Struct.new(
403
417
  :subdirectory,
404
418
  :s3_bucket_arn,
419
+ :s3_storage_class,
405
420
  :s3_config,
406
421
  :tags)
407
422
  include Aws::Structure
@@ -465,7 +480,7 @@ module Aws::DataSync
465
480
  # @!attribute [rw] server_hostname
466
481
  # The name of the SMB server. This value is the IP address or Domain
467
482
  # Name Service (DNS) name of the SMB server. An agent that is
468
- # installed on-premises uses this host name to mount the SMB server in
483
+ # installed on-premises uses this hostname to mount the SMB server in
469
484
  # a network.
470
485
  #
471
486
  # <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
@@ -476,16 +491,16 @@ module Aws::DataSync
476
491
  #
477
492
  # @!attribute [rw] user
478
493
  # The user who can mount the share, has the permissions to access
479
- # files and directories in the SMB share.
494
+ # files and folders in the SMB share.
480
495
  # @return [String]
481
496
  #
482
497
  # @!attribute [rw] domain
483
- # The name of the domain that the SMB server belongs to.
498
+ # The name of the Windows domain that the SMB server belongs to.
484
499
  # @return [String]
485
500
  #
486
501
  # @!attribute [rw] password
487
- # The password of the user who has permission to access the SMB
488
- # server.
502
+ # The password of the user who can mount the share, has the
503
+ # permissions to access files and folders in the SMB share.
489
504
  # @return [String]
490
505
  #
491
506
  # @!attribute [rw] agent_arns
@@ -494,8 +509,7 @@ module Aws::DataSync
494
509
  # @return [Array<String>]
495
510
  #
496
511
  # @!attribute [rw] mount_options
497
- # The mount options that are available for DataSync to use to access
498
- # an SMB location.
512
+ # The mount options used by DataSync to access the SMB server.
499
513
  # @return [Types::SmbMountOptions]
500
514
  #
501
515
  # @!attribute [rw] tags
@@ -543,7 +557,8 @@ module Aws::DataSync
543
557
  # cloud_watch_log_group_arn: "LogGroupArn",
544
558
  # name: "TagValue",
545
559
  # options: {
546
- # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, NONE
560
+ # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, ONLY_FILES_TRANSFERRED, NONE
561
+ # overwrite_mode: "ALWAYS", # accepts ALWAYS, NEVER
547
562
  # atime: "NONE", # accepts NONE, BEST_EFFORT
548
563
  # mtime: "NONE", # accepts NONE, PRESERVE
549
564
  # uid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
@@ -771,8 +786,8 @@ module Aws::DataSync
771
786
  # @return [String]
772
787
  #
773
788
  # @!attribute [rw] private_link_config
774
- # The VPC endpoint, subnet and security group that an agent uses to
775
- # access IP addresses in a VPC (Virtual Private Cloud).
789
+ # The subnet and the security group that DataSync used to access a VPC
790
+ # endpoint.
776
791
  # @return [Types::PrivateLinkConfig]
777
792
  #
778
793
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgentResponse AWS API Documentation
@@ -927,6 +942,19 @@ module Aws::DataSync
927
942
  # The URL of the Amazon S3 location that was described.
928
943
  # @return [String]
929
944
  #
945
+ # @!attribute [rw] s3_storage_class
946
+ # The Amazon S3 storage class that you chose to store your files in
947
+ # when this location is used as a task destination. For more
948
+ # information about S3 storage classes, see [Amazon S3 Storage
949
+ # Classes][1] in the *Amazon Simple Storage Service Developer Guide*.
950
+ # Some storage classes have behaviors that can affect your S3 storage
951
+ # cost. For detailed information, see using-storage-classes.
952
+ #
953
+ #
954
+ #
955
+ # [1]: https://aws.amazon.com/s3/storage-classes/
956
+ # @return [String]
957
+ #
930
958
  # @!attribute [rw] s3_config
931
959
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
932
960
  # Management (IAM) role that is used to access an Amazon S3 bucket.
@@ -944,6 +972,7 @@ module Aws::DataSync
944
972
  class DescribeLocationS3Response < Struct.new(
945
973
  :location_arn,
946
974
  :location_uri,
975
+ :s3_storage_class,
947
976
  :s3_config,
948
977
  :creation_time)
949
978
  include Aws::Structure
@@ -986,11 +1015,12 @@ module Aws::DataSync
986
1015
  # @return [Array<String>]
987
1016
  #
988
1017
  # @!attribute [rw] user
989
- # The user who is logged on the SMB server.
1018
+ # The user who can mount the share, has the permissions to access
1019
+ # files and folders in the SMB share.
990
1020
  # @return [String]
991
1021
  #
992
1022
  # @!attribute [rw] domain
993
- # The name of the domain that the SMB server belongs to.
1023
+ # The name of the Windows domain that the SMB server belongs to.
994
1024
  # @return [String]
995
1025
  #
996
1026
  # @!attribute [rw] mount_options
@@ -1659,9 +1689,25 @@ module Aws::DataSync
1659
1689
  #
1660
1690
  # @!attribute [rw] version
1661
1691
  # The specific NFS version that you want DataSync to use to mount your
1662
- # NFS share. If you don't specify a version, DataSync defaults to
1663
- # `AUTOMATIC`. That is, DataSync automatically selects a version based
1664
- # on negotiation with the NFS server.
1692
+ # NFS share. If the server refuses to use the version specified, the
1693
+ # sync will fail. If you don't specify a version, DataSync defaults
1694
+ # to `AUTOMATIC`. That is, DataSync automatically selects a version
1695
+ # based on negotiation with the NFS server.
1696
+ #
1697
+ # You can specify the following NFS versions:
1698
+ #
1699
+ # * <b> <a href="https://tools.ietf.org/html/rfc1813">NFSv3</a> </b> -
1700
+ # stateless protocol version that allows for asynchronous writes on
1701
+ # the server.
1702
+ #
1703
+ # * <b> <a href="https://tools.ietf.org/html/rfc3530">NFSv4.0</a> </b>
1704
+ # - stateful, firewall-friendly protocol version that supports
1705
+ # delegations and pseudo filesystems.
1706
+ #
1707
+ # * <b> <a href="https://tools.ietf.org/html/rfc5661">NFSv4.1</a> </b>
1708
+ # - stateful protocol version that supports sessions, directory
1709
+ # delegations, and parallel data processing. Version 4.1 also
1710
+ # includes all features available in version 4.0.
1665
1711
  # @return [String]
1666
1712
  #
1667
1713
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/NfsMountOptions AWS API Documentation
@@ -1707,7 +1753,8 @@ module Aws::DataSync
1707
1753
  # data as a hash:
1708
1754
  #
1709
1755
  # {
1710
- # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, NONE
1756
+ # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, ONLY_FILES_TRANSFERRED, NONE
1757
+ # overwrite_mode: "ALWAYS", # accepts ALWAYS, NEVER
1711
1758
  # atime: "NONE", # accepts NONE, BEST_EFFORT
1712
1759
  # mtime: "NONE", # accepts NONE, PRESERVE
1713
1760
  # uid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
@@ -1727,9 +1774,25 @@ module Aws::DataSync
1727
1774
  #
1728
1775
  # POINT\_IN\_TIME\_CONSISTENT: Perform verification (recommended).
1729
1776
  #
1777
+ # ONLY\_FILES\_TRANSFERRED: Perform verification on only files that
1778
+ # were transferred.
1779
+ #
1730
1780
  # NONE: Skip verification.
1731
1781
  # @return [String]
1732
1782
  #
1783
+ # @!attribute [rw] overwrite_mode
1784
+ # A value that determines whether files at the destination should be
1785
+ # overwritten or preserved when copying files. If set to `NEVER` a
1786
+ # destination file will not be replaced by a source file, even if the
1787
+ # destination file differs from the source file. If you modify files
1788
+ # in the destination and you sync the files, you can use this value to
1789
+ # protect against overwriting those changes.
1790
+ #
1791
+ # Some storage classes have specific behaviors that can affect your S3
1792
+ # storage cost. For detailed information, see using-storage-classes in
1793
+ # the *AWS DataSync User Guide*.
1794
+ # @return [String]
1795
+ #
1733
1796
  # @!attribute [rw] atime
1734
1797
  # A file metadata value that shows the last time a file was accessed
1735
1798
  # (that is, when the file was read or written to). If you set `Atime`
@@ -1796,7 +1859,11 @@ module Aws::DataSync
1796
1859
  #
1797
1860
  # @!attribute [rw] preserve_deleted_files
1798
1861
  # A value that specifies whether files in the destination that don't
1799
- # exist in the source file system should be preserved.
1862
+ # exist in the source file system should be preserved. This option can
1863
+ # affect your storage cost. If your task deletes objects, you might
1864
+ # incur minimum storage duration charges for certain storage classes.
1865
+ # For detailed information, see using-storage-classes in the *AWS
1866
+ # DataSync User Guide*.
1800
1867
  #
1801
1868
  # Default value: PRESERVE.
1802
1869
  #
@@ -1851,6 +1918,7 @@ module Aws::DataSync
1851
1918
  #
1852
1919
  class Options < Struct.new(
1853
1920
  :verify_mode,
1921
+ :overwrite_mode,
1854
1922
  :atime,
1855
1923
  :mtime,
1856
1924
  :uid,
@@ -1942,7 +2010,7 @@ module Aws::DataSync
1942
2010
  # The specific SMB version that you want DataSync to use to mount your
1943
2011
  # SMB share. If you don't specify a version, DataSync defaults to
1944
2012
  # `AUTOMATIC`. That is, DataSync automatically selects a version based
1945
- # on negotiation with the SMB Server server.
2013
+ # on negotiation with the SMB server.
1946
2014
  # @return [String]
1947
2015
  #
1948
2016
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/SmbMountOptions AWS API Documentation
@@ -1960,7 +2028,8 @@ module Aws::DataSync
1960
2028
  # {
1961
2029
  # task_arn: "TaskArn", # required
1962
2030
  # override_options: {
1963
- # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, NONE
2031
+ # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, ONLY_FILES_TRANSFERRED, NONE
2032
+ # overwrite_mode: "ALWAYS", # accepts ALWAYS, NEVER
1964
2033
  # atime: "NONE", # accepts NONE, BEST_EFFORT
1965
2034
  # mtime: "NONE", # accepts NONE, PRESERVE
1966
2035
  # uid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
@@ -2260,7 +2329,8 @@ module Aws::DataSync
2260
2329
  # {
2261
2330
  # task_arn: "TaskArn", # required
2262
2331
  # options: {
2263
- # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, NONE
2332
+ # verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, ONLY_FILES_TRANSFERRED, NONE
2333
+ # overwrite_mode: "ALWAYS", # accepts ALWAYS, NEVER
2264
2334
  # atime: "NONE", # accepts NONE, BEST_EFFORT
2265
2335
  # mtime: "NONE", # accepts NONE, PRESERVE
2266
2336
  # uid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
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.12.0
4
+ version: 1.13.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-08-22 00:00:00.000000000 Z
11
+ date: 2019-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core