aws-sdk-datasync 1.22.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9128c260136b5a629fc9a5debbddfe8fd87d0ae0f394b434bd6348f79fe95d17
4
- data.tar.gz: 748ac1bb3867faf183c29041b8d3f9e702f68feeb0f72bc38859bd41df6cbf27
3
+ metadata.gz: 5dfe3480fcc84e9fb360b73d86d3f197140c54d60851af268d06661e00d6d350
4
+ data.tar.gz: d7806728d52a7dcac0bd483724d8c2526c504f5097c9bf0b8254d4adf90c57ba
5
5
  SHA512:
6
- metadata.gz: bb49de36ba247ebe12a15a402aa823f7dfa6cb943b632afc4d5f00e122bec8439f6bb152539e21cb05193d739167b9e6bf2373cd6f2a32661d828c89c1d543d2
7
- data.tar.gz: faed322a945981ed88eea59b7bf0af6107d512b8d164dc2a3b57f5bb50789e1e114f7cbf2187a342f9fc3400737549f7b1f69cabf9dca8497cf3f0ee703a62a0
6
+ metadata.gz: b7fbb33bddda6ee646f99f0935346e94b758db38704a16ac1955157553224a63f4001c4e178d107953ea9f33f1e50a32ee90e9a2be82a43f4275d2a48d175188
7
+ data.tar.gz: e9eaba232fcb2e36e8ca1dc883eb9b1705da61bd83ebcc7050ab6f56a7d7492a69ab556d757ae530d4ee1c098907a837ad8b5d501cee71d6967897253448e62a
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-datasync/customizations'
47
47
  # @service
48
48
  module Aws::DataSync
49
49
 
50
- GEM_VERSION = '1.22.0'
50
+ GEM_VERSION = '1.23.0'
51
51
 
52
52
  end
@@ -324,7 +324,7 @@ module Aws::DataSync
324
324
 
325
325
  # Cancels execution of a task.
326
326
  #
327
- # When you cancel a task execution, the transfer of some files are
327
+ # When you cancel a task execution, the transfer of some files is
328
328
  # abruptly interrupted. The contents of files that are transferred to
329
329
  # the destination might be incomplete or inconsistent with the source
330
330
  # files. However, if you start a new task execution on the same task and
@@ -361,7 +361,7 @@ module Aws::DataSync
361
361
  # AWS Region where your target locations (in Amazon S3 or Amazon EFS)
362
362
  # reside. Your tasks are created in this AWS Region.
363
363
  #
364
- # You can activate the agent in a VPC (Virtual private Cloud) or provide
364
+ # You can activate the agent in a VPC (virtual private cloud) or provide
365
365
  # the agent access to a VPC endpoint so you can run tasks without going
366
366
  # over the public Internet.
367
367
  #
@@ -404,11 +404,11 @@ module Aws::DataSync
404
404
  # </note>
405
405
  #
406
406
  # @option params [String] :vpc_endpoint_id
407
- # The ID of the VPC (Virtual Private Cloud) endpoint that the agent has
407
+ # The ID of the VPC (virtual private cloud) endpoint that the agent has
408
408
  # access to. This is the client-side VPC endpoint, also called a
409
409
  # PrivateLink. If you don't have a PrivateLink VPC endpoint, see
410
- # [Creating a VPC Endpoint Service Configuration][1] in the AWS VPC User
411
- # Guide.
410
+ # [Creating a VPC Endpoint Service Configuration][1] in the Amazon VPC
411
+ # User Guide.
412
412
  #
413
413
  # VPC endpoint ID looks like this: `vpce-01234d5aff67890e1`.
414
414
  #
@@ -471,7 +471,7 @@ module Aws::DataSync
471
471
  # data to the EFS destination. By default, AWS DataSync uses the root
472
472
  # directory.
473
473
  #
474
- # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
474
+ # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
475
475
  # `/path/to/folder`.
476
476
  #
477
477
  # </note>
@@ -610,7 +610,7 @@ module Aws::DataSync
610
610
  end
611
611
 
612
612
  # Defines a file system on a Network File System (NFS) server that can
613
- # be read from or written to
613
+ # be read from or written to.
614
614
  #
615
615
  # @option params [required, String] :subdirectory
616
616
  # The subdirectory in the NFS file system that is used to read data from
@@ -633,24 +633,45 @@ module Aws::DataSync
633
633
  # files. For the agent to access directories, you must additionally
634
634
  # enable all execute access.
635
635
  #
636
+ # If you are copying data to or from your AWS Snowcone device, see [NFS
637
+ # Server on AWS Snowcone][1] for more information.
638
+ #
636
639
  # For information about NFS export configuration, see 18.7. The
637
640
  # /etc/exports Configuration File in the Red Hat Enterprise Linux
638
641
  # documentation.
639
642
  #
643
+ #
644
+ #
645
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
646
+ #
640
647
  # @option params [required, String] :server_hostname
641
648
  # The name of the NFS server. This value is the IP address or Domain
642
649
  # Name Service (DNS) name of the NFS server. An agent that is installed
643
650
  # on-premises uses this host name to mount the NFS server in a network.
644
651
  #
652
+ # If you are copying data to or from your AWS Snowcone device, see [NFS
653
+ # Server on AWS Snowcone][1] for more information.
654
+ #
645
655
  # <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
646
656
  # (IPv4) address.
647
657
  #
648
658
  # </note>
649
659
  #
660
+ #
661
+ #
662
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
663
+ #
650
664
  # @option params [required, Types::OnPremConfig] :on_prem_config
651
665
  # Contains a list of Amazon Resource Names (ARNs) of agents that are
652
666
  # used to connect to an NFS server.
653
667
  #
668
+ # If you are copying data to or from your AWS Snowcone device, see [NFS
669
+ # Server on AWS Snowcone][1] for more information.
670
+ #
671
+ #
672
+ #
673
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
674
+ #
654
675
  # @option params [Types::NfsMountOptions] :mount_options
655
676
  # The NFS mount options that DataSync can use to mount your NFS share.
656
677
  #
@@ -695,6 +716,85 @@ module Aws::DataSync
695
716
  req.send_request(options)
696
717
  end
697
718
 
719
+ # Creates an endpoint for a self-managed object storage bucket.
720
+ #
721
+ # @option params [required, String] :server_hostname
722
+ # The name of the self-managed object storage server. This value is the
723
+ # IP address or Domain Name Service (DNS) name of the object storage
724
+ # server. An agent uses this host name to mount the object storage
725
+ # server in a network.
726
+ #
727
+ # @option params [Integer] :server_port
728
+ # The port that your self-managed object storage server accepts inbound
729
+ # network traffic on. The server port is set by default to TCP 80 (HTTP)
730
+ # or TCP 443 (HTTPS). You can specify a custom port if your self-managed
731
+ # object storage server requires one.
732
+ #
733
+ # @option params [String] :server_protocol
734
+ # The protocol that the object storage server uses to communicate. Valid
735
+ # values are HTTP or HTTPS.
736
+ #
737
+ # @option params [String] :subdirectory
738
+ # The subdirectory in the self-managed object storage server that is
739
+ # used to read data from.
740
+ #
741
+ # @option params [required, String] :bucket_name
742
+ # The bucket on the self-managed object storage server that is used to
743
+ # read data from.
744
+ #
745
+ # @option params [String] :access_key
746
+ # Optional. The access key is used if credentials are required to access
747
+ # the self-managed object storage server.
748
+ #
749
+ # @option params [String] :secret_key
750
+ # Optional. The secret key is used if credentials are required to access
751
+ # the self-managed object storage server.
752
+ #
753
+ # @option params [required, Array<String>] :agent_arns
754
+ # The Amazon Resource Name (ARN) of the agents associated with the
755
+ # self-managed object storage server location.
756
+ #
757
+ # @option params [Array<Types::TagListEntry>] :tags
758
+ # The key-value pair that represents the tag that you want to add to the
759
+ # location. The value can be an empty string. We recommend using tags to
760
+ # name your resources.
761
+ #
762
+ # @return [Types::CreateLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
763
+ #
764
+ # * {Types::CreateLocationObjectStorageResponse#location_arn #location_arn} => String
765
+ #
766
+ # @example Request syntax with placeholder values
767
+ #
768
+ # resp = client.create_location_object_storage({
769
+ # server_hostname: "ServerHostname", # required
770
+ # server_port: 1,
771
+ # server_protocol: "HTTPS", # accepts HTTPS, HTTP
772
+ # subdirectory: "S3Subdirectory",
773
+ # bucket_name: "ObjectStorageBucketName", # required
774
+ # access_key: "ObjectStorageAccessKey",
775
+ # secret_key: "ObjectStorageSecretKey",
776
+ # agent_arns: ["AgentArn"], # required
777
+ # tags: [
778
+ # {
779
+ # key: "TagKey", # required
780
+ # value: "TagValue",
781
+ # },
782
+ # ],
783
+ # })
784
+ #
785
+ # @example Response structure
786
+ #
787
+ # resp.location_arn #=> String
788
+ #
789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorage AWS API Documentation
790
+ #
791
+ # @overload create_location_object_storage(params = {})
792
+ # @param [Hash] params ({})
793
+ def create_location_object_storage(params = {}, options = {})
794
+ req = build_request(:create_location_object_storage, params)
795
+ req.send_request(options)
796
+ end
797
+
698
798
  # Creates an endpoint for an Amazon S3 bucket.
699
799
  #
700
800
  # For AWS DataSync to access a destination S3 bucket, it needs an AWS
@@ -774,7 +874,7 @@ module Aws::DataSync
774
874
  req.send_request(options)
775
875
  end
776
876
 
777
- # Defines a file system on an Server Message Block (SMB) server that can
877
+ # Defines a file system on a Server Message Block (SMB) server that can
778
878
  # be read from or written to.
779
879
  #
780
880
  # @option params [required, String] :subdirectory
@@ -784,7 +884,7 @@ module Aws::DataSync
784
884
  # subdirectory of that path. The path should be such that it can be
785
885
  # mounted by other SMB clients in your network.
786
886
  #
787
- # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
887
+ # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
788
888
  # `/path/to/folder`.
789
889
  #
790
890
  # </note>
@@ -898,12 +998,6 @@ module Aws::DataSync
898
998
  # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
899
999
  # is used to monitor and log events in the task.
900
1000
  #
901
- # For more information on these groups, see Working with Log Groups and
902
- # Log Streams in the *Amazon CloudWatch User Guide.*
903
- #
904
- # For more information about how to use CloudWatch Logs with DataSync,
905
- # see Monitoring Your Task in the *AWS DataSync User Guide.*
906
- #
907
1001
  # @option params [String] :name
908
1002
  # The name of a task. This value is a text reference that is used to
909
1003
  # identify the task in the console.
@@ -916,7 +1010,7 @@ module Aws::DataSync
916
1010
  # verification, and so on.
917
1011
  #
918
1012
  # For each individual task execution, you can override these options by
919
- # specifying the `OverrideOptions` before starting a the task execution.
1013
+ # specifying the `OverrideOptions` before starting the task execution.
920
1014
  # For more information, see the operation.
921
1015
  #
922
1016
  # @option params [Array<Types::FilterRule>] :excludes
@@ -958,6 +1052,7 @@ module Aws::DataSync
958
1052
  # bytes_per_second: 1,
959
1053
  # task_queueing: "ENABLED", # accepts ENABLED, DISABLED
960
1054
  # log_level: "OFF", # accepts OFF, BASIC, TRANSFER
1055
+ # transfer_mode: "CHANGED", # accepts CHANGED, ALL
961
1056
  # },
962
1057
  # excludes: [
963
1058
  # {
@@ -1187,10 +1282,10 @@ module Aws::DataSync
1187
1282
  req.send_request(options)
1188
1283
  end
1189
1284
 
1190
- # Returns metadata, such as the path information, about a NFS location.
1285
+ # Returns metadata, such as the path information, about an NFS location.
1191
1286
  #
1192
1287
  # @option params [required, String] :location_arn
1193
- # The Amazon resource Name (ARN) of the NFS location to describe.
1288
+ # The Amazon Resource Name (ARN) of the NFS location to describe.
1194
1289
  #
1195
1290
  # @return [Types::DescribeLocationNfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1196
1291
  #
@@ -1224,6 +1319,48 @@ module Aws::DataSync
1224
1319
  req.send_request(options)
1225
1320
  end
1226
1321
 
1322
+ # Returns metadata about a self-managed object storage server location.
1323
+ #
1324
+ # @option params [required, String] :location_arn
1325
+ # The Amazon Resource Name (ARN) of the self-managed object storage
1326
+ # server location that was described.
1327
+ #
1328
+ # @return [Types::DescribeLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1329
+ #
1330
+ # * {Types::DescribeLocationObjectStorageResponse#location_arn #location_arn} => String
1331
+ # * {Types::DescribeLocationObjectStorageResponse#location_uri #location_uri} => String
1332
+ # * {Types::DescribeLocationObjectStorageResponse#access_key #access_key} => String
1333
+ # * {Types::DescribeLocationObjectStorageResponse#server_port #server_port} => Integer
1334
+ # * {Types::DescribeLocationObjectStorageResponse#server_protocol #server_protocol} => String
1335
+ # * {Types::DescribeLocationObjectStorageResponse#agent_arns #agent_arns} => Array&lt;String&gt;
1336
+ # * {Types::DescribeLocationObjectStorageResponse#creation_time #creation_time} => Time
1337
+ #
1338
+ # @example Request syntax with placeholder values
1339
+ #
1340
+ # resp = client.describe_location_object_storage({
1341
+ # location_arn: "LocationArn", # required
1342
+ # })
1343
+ #
1344
+ # @example Response structure
1345
+ #
1346
+ # resp.location_arn #=> String
1347
+ # resp.location_uri #=> String
1348
+ # resp.access_key #=> String
1349
+ # resp.server_port #=> Integer
1350
+ # resp.server_protocol #=> String, one of "HTTPS", "HTTP"
1351
+ # resp.agent_arns #=> Array
1352
+ # resp.agent_arns[0] #=> String
1353
+ # resp.creation_time #=> Time
1354
+ #
1355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorage AWS API Documentation
1356
+ #
1357
+ # @overload describe_location_object_storage(params = {})
1358
+ # @param [Hash] params ({})
1359
+ def describe_location_object_storage(params = {}, options = {})
1360
+ req = build_request(:describe_location_object_storage, params)
1361
+ req.send_request(options)
1362
+ end
1363
+
1227
1364
  # Returns metadata, such as bucket name, about an Amazon S3 bucket
1228
1365
  # location.
1229
1366
  #
@@ -1262,11 +1399,11 @@ module Aws::DataSync
1262
1399
  req.send_request(options)
1263
1400
  end
1264
1401
 
1265
- # Returns metadata, such as the path and user information about a SMB
1402
+ # Returns metadata, such as the path and user information about an SMB
1266
1403
  # location.
1267
1404
  #
1268
1405
  # @option params [required, String] :location_arn
1269
- # The Amazon resource Name (ARN) of the SMB location to describe.
1406
+ # The Amazon Resource Name (ARN) of the SMB location to describe.
1270
1407
  #
1271
1408
  # @return [Types::DescribeLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1272
1409
  #
@@ -1358,6 +1495,7 @@ module Aws::DataSync
1358
1495
  # resp.options.bytes_per_second #=> Integer
1359
1496
  # resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
1360
1497
  # resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
1498
+ # resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
1361
1499
  # resp.excludes #=> Array
1362
1500
  # resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
1363
1501
  # resp.excludes[0].value #=> String
@@ -1417,6 +1555,7 @@ module Aws::DataSync
1417
1555
  # resp.options.bytes_per_second #=> Integer
1418
1556
  # resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
1419
1557
  # resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
1558
+ # resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
1420
1559
  # resp.excludes #=> Array
1421
1560
  # resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
1422
1561
  # resp.excludes[0].value #=> String
@@ -1499,7 +1638,7 @@ module Aws::DataSync
1499
1638
  req.send_request(options)
1500
1639
  end
1501
1640
 
1502
- # Returns a lists of source and destination locations.
1641
+ # Returns a list of source and destination locations.
1503
1642
  #
1504
1643
  # If you have more locations than are returned in a response (that is,
1505
1644
  # the response returns only a truncated list of your agents), the
@@ -1543,7 +1682,7 @@ module Aws::DataSync
1543
1682
  req.send_request(options)
1544
1683
  end
1545
1684
 
1546
- # Returns all the tags associated with a specified resources.
1685
+ # Returns all the tags associated with a specified resource.
1547
1686
  #
1548
1687
  # @option params [required, String] :resource_arn
1549
1688
  # The Amazon Resource Name (ARN) of the resource whose tags to list.
@@ -1722,6 +1861,7 @@ module Aws::DataSync
1722
1861
  # bytes_per_second: 1,
1723
1862
  # task_queueing: "ENABLED", # accepts ENABLED, DISABLED
1724
1863
  # log_level: "OFF", # accepts OFF, BASIC, TRANSFER
1864
+ # transfer_mode: "CHANGED", # accepts CHANGED, ALL
1725
1865
  # },
1726
1866
  # includes: [
1727
1867
  # {
@@ -1884,6 +2024,7 @@ module Aws::DataSync
1884
2024
  # bytes_per_second: 1,
1885
2025
  # task_queueing: "ENABLED", # accepts ENABLED, DISABLED
1886
2026
  # log_level: "OFF", # accepts OFF, BASIC, TRANSFER
2027
+ # transfer_mode: "CHANGED", # accepts CHANGED, ALL
1887
2028
  # },
1888
2029
  # excludes: [
1889
2030
  # {
@@ -1920,7 +2061,7 @@ module Aws::DataSync
1920
2061
  params: params,
1921
2062
  config: config)
1922
2063
  context[:gem_name] = 'aws-sdk-datasync'
1923
- context[:gem_version] = '1.22.0'
2064
+ context[:gem_version] = '1.23.0'
1924
2065
  Seahorse::Client::Request.new(handlers, context)
1925
2066
  end
1926
2067
 
@@ -31,6 +31,8 @@ module Aws::DataSync
31
31
  CreateLocationFsxWindowsResponse = Shapes::StructureShape.new(name: 'CreateLocationFsxWindowsResponse')
32
32
  CreateLocationNfsRequest = Shapes::StructureShape.new(name: 'CreateLocationNfsRequest')
33
33
  CreateLocationNfsResponse = Shapes::StructureShape.new(name: 'CreateLocationNfsResponse')
34
+ CreateLocationObjectStorageRequest = Shapes::StructureShape.new(name: 'CreateLocationObjectStorageRequest')
35
+ CreateLocationObjectStorageResponse = Shapes::StructureShape.new(name: 'CreateLocationObjectStorageResponse')
34
36
  CreateLocationS3Request = Shapes::StructureShape.new(name: 'CreateLocationS3Request')
35
37
  CreateLocationS3Response = Shapes::StructureShape.new(name: 'CreateLocationS3Response')
36
38
  CreateLocationSmbRequest = Shapes::StructureShape.new(name: 'CreateLocationSmbRequest')
@@ -51,6 +53,8 @@ module Aws::DataSync
51
53
  DescribeLocationFsxWindowsResponse = Shapes::StructureShape.new(name: 'DescribeLocationFsxWindowsResponse')
52
54
  DescribeLocationNfsRequest = Shapes::StructureShape.new(name: 'DescribeLocationNfsRequest')
53
55
  DescribeLocationNfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationNfsResponse')
56
+ DescribeLocationObjectStorageRequest = Shapes::StructureShape.new(name: 'DescribeLocationObjectStorageRequest')
57
+ DescribeLocationObjectStorageResponse = Shapes::StructureShape.new(name: 'DescribeLocationObjectStorageResponse')
54
58
  DescribeLocationS3Request = Shapes::StructureShape.new(name: 'DescribeLocationS3Request')
55
59
  DescribeLocationS3Response = Shapes::StructureShape.new(name: 'DescribeLocationS3Response')
56
60
  DescribeLocationSmbRequest = Shapes::StructureShape.new(name: 'DescribeLocationSmbRequest')
@@ -77,6 +81,7 @@ module Aws::DataSync
77
81
  FsxWindowsSubdirectory = Shapes::StringShape.new(name: 'FsxWindowsSubdirectory')
78
82
  Gid = Shapes::StringShape.new(name: 'Gid')
79
83
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
84
+ InputTagList = Shapes::ListShape.new(name: 'InputTagList')
80
85
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
81
86
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
82
87
  ListAgentsRequest = Shapes::StructureShape.new(name: 'ListAgentsRequest')
@@ -102,8 +107,14 @@ module Aws::DataSync
102
107
  NfsMountOptions = Shapes::StructureShape.new(name: 'NfsMountOptions')
103
108
  NfsSubdirectory = Shapes::StringShape.new(name: 'NfsSubdirectory')
104
109
  NfsVersion = Shapes::StringShape.new(name: 'NfsVersion')
110
+ ObjectStorageAccessKey = Shapes::StringShape.new(name: 'ObjectStorageAccessKey')
111
+ ObjectStorageBucketName = Shapes::StringShape.new(name: 'ObjectStorageBucketName')
112
+ ObjectStorageSecretKey = Shapes::StringShape.new(name: 'ObjectStorageSecretKey')
113
+ ObjectStorageServerPort = Shapes::IntegerShape.new(name: 'ObjectStorageServerPort')
114
+ ObjectStorageServerProtocol = Shapes::StringShape.new(name: 'ObjectStorageServerProtocol')
105
115
  OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
106
116
  Options = Shapes::StructureShape.new(name: 'Options')
117
+ OutputTagList = Shapes::ListShape.new(name: 'OutputTagList')
107
118
  OverwriteMode = Shapes::StringShape.new(name: 'OverwriteMode')
108
119
  PLSecurityGroupArnList = Shapes::ListShape.new(name: 'PLSecurityGroupArnList')
109
120
  PLSubnetArnList = Shapes::ListShape.new(name: 'PLSubnetArnList')
@@ -129,7 +140,6 @@ module Aws::DataSync
129
140
  StartTaskExecutionResponse = Shapes::StructureShape.new(name: 'StartTaskExecutionResponse')
130
141
  TagKey = Shapes::StringShape.new(name: 'TagKey')
131
142
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
132
- TagList = Shapes::ListShape.new(name: 'TagList')
133
143
  TagListEntry = Shapes::StructureShape.new(name: 'TagListEntry')
134
144
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
135
145
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
@@ -147,6 +157,7 @@ module Aws::DataSync
147
157
  TaskSchedule = Shapes::StructureShape.new(name: 'TaskSchedule')
148
158
  TaskStatus = Shapes::StringShape.new(name: 'TaskStatus')
149
159
  Time = Shapes::TimestampShape.new(name: 'Time')
160
+ TransferMode = Shapes::StringShape.new(name: 'TransferMode')
150
161
  Uid = Shapes::StringShape.new(name: 'Uid')
151
162
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
152
163
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
@@ -175,7 +186,7 @@ module Aws::DataSync
175
186
 
176
187
  CreateAgentRequest.add_member(:activation_key, Shapes::ShapeRef.new(shape: ActivationKey, required: true, location_name: "ActivationKey"))
177
188
  CreateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: TagValue, location_name: "AgentName"))
178
- CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
189
+ CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
179
190
  CreateAgentRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
180
191
  CreateAgentRequest.add_member(:subnet_arns, Shapes::ShapeRef.new(shape: PLSubnetArnList, location_name: "SubnetArns"))
181
192
  CreateAgentRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: PLSecurityGroupArnList, location_name: "SecurityGroupArns"))
@@ -187,7 +198,7 @@ module Aws::DataSync
187
198
  CreateLocationEfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: EfsSubdirectory, location_name: "Subdirectory"))
188
199
  CreateLocationEfsRequest.add_member(:efs_filesystem_arn, Shapes::ShapeRef.new(shape: EfsFilesystemArn, required: true, location_name: "EfsFilesystemArn"))
189
200
  CreateLocationEfsRequest.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, required: true, location_name: "Ec2Config"))
190
- CreateLocationEfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
201
+ CreateLocationEfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
191
202
  CreateLocationEfsRequest.struct_class = Types::CreateLocationEfsRequest
192
203
 
193
204
  CreateLocationEfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
@@ -196,7 +207,7 @@ module Aws::DataSync
196
207
  CreateLocationFsxWindowsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: FsxWindowsSubdirectory, location_name: "Subdirectory"))
197
208
  CreateLocationFsxWindowsRequest.add_member(:fsx_filesystem_arn, Shapes::ShapeRef.new(shape: FsxFilesystemArn, required: true, location_name: "FsxFilesystemArn"))
198
209
  CreateLocationFsxWindowsRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
199
- CreateLocationFsxWindowsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
210
+ CreateLocationFsxWindowsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
200
211
  CreateLocationFsxWindowsRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, required: true, location_name: "User"))
201
212
  CreateLocationFsxWindowsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
202
213
  CreateLocationFsxWindowsRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, required: true, location_name: "Password"))
@@ -209,17 +220,31 @@ module Aws::DataSync
209
220
  CreateLocationNfsRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
210
221
  CreateLocationNfsRequest.add_member(:on_prem_config, Shapes::ShapeRef.new(shape: OnPremConfig, required: true, location_name: "OnPremConfig"))
211
222
  CreateLocationNfsRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: NfsMountOptions, location_name: "MountOptions"))
212
- CreateLocationNfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
223
+ CreateLocationNfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
213
224
  CreateLocationNfsRequest.struct_class = Types::CreateLocationNfsRequest
214
225
 
215
226
  CreateLocationNfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
216
227
  CreateLocationNfsResponse.struct_class = Types::CreateLocationNfsResponse
217
228
 
229
+ CreateLocationObjectStorageRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
230
+ CreateLocationObjectStorageRequest.add_member(:server_port, Shapes::ShapeRef.new(shape: ObjectStorageServerPort, location_name: "ServerPort"))
231
+ CreateLocationObjectStorageRequest.add_member(:server_protocol, Shapes::ShapeRef.new(shape: ObjectStorageServerProtocol, location_name: "ServerProtocol"))
232
+ CreateLocationObjectStorageRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: S3Subdirectory, location_name: "Subdirectory"))
233
+ CreateLocationObjectStorageRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: ObjectStorageBucketName, required: true, location_name: "BucketName"))
234
+ CreateLocationObjectStorageRequest.add_member(:access_key, Shapes::ShapeRef.new(shape: ObjectStorageAccessKey, location_name: "AccessKey"))
235
+ CreateLocationObjectStorageRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: ObjectStorageSecretKey, location_name: "SecretKey"))
236
+ CreateLocationObjectStorageRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
237
+ CreateLocationObjectStorageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
238
+ CreateLocationObjectStorageRequest.struct_class = Types::CreateLocationObjectStorageRequest
239
+
240
+ CreateLocationObjectStorageResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
241
+ CreateLocationObjectStorageResponse.struct_class = Types::CreateLocationObjectStorageResponse
242
+
218
243
  CreateLocationS3Request.add_member(:subdirectory, Shapes::ShapeRef.new(shape: S3Subdirectory, location_name: "Subdirectory"))
219
244
  CreateLocationS3Request.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "S3BucketArn"))
220
245
  CreateLocationS3Request.add_member(:s3_storage_class, Shapes::ShapeRef.new(shape: S3StorageClass, location_name: "S3StorageClass"))
221
246
  CreateLocationS3Request.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, required: true, location_name: "S3Config"))
222
- CreateLocationS3Request.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
247
+ CreateLocationS3Request.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
223
248
  CreateLocationS3Request.struct_class = Types::CreateLocationS3Request
224
249
 
225
250
  CreateLocationS3Response.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
@@ -232,7 +257,7 @@ module Aws::DataSync
232
257
  CreateLocationSmbRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, required: true, location_name: "Password"))
233
258
  CreateLocationSmbRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
234
259
  CreateLocationSmbRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
235
- CreateLocationSmbRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
260
+ CreateLocationSmbRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
236
261
  CreateLocationSmbRequest.struct_class = Types::CreateLocationSmbRequest
237
262
 
238
263
  CreateLocationSmbResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
@@ -245,7 +270,7 @@ module Aws::DataSync
245
270
  CreateTaskRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
246
271
  CreateTaskRequest.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
247
272
  CreateTaskRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: TaskSchedule, location_name: "Schedule"))
248
- CreateTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
273
+ CreateTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
249
274
  CreateTaskRequest.struct_class = Types::CreateTaskRequest
250
275
 
251
276
  CreateTaskResponse.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, location_name: "TaskArn"))
@@ -308,6 +333,18 @@ module Aws::DataSync
308
333
  DescribeLocationNfsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
309
334
  DescribeLocationNfsResponse.struct_class = Types::DescribeLocationNfsResponse
310
335
 
336
+ DescribeLocationObjectStorageRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
337
+ DescribeLocationObjectStorageRequest.struct_class = Types::DescribeLocationObjectStorageRequest
338
+
339
+ DescribeLocationObjectStorageResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
340
+ DescribeLocationObjectStorageResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
341
+ DescribeLocationObjectStorageResponse.add_member(:access_key, Shapes::ShapeRef.new(shape: ObjectStorageAccessKey, location_name: "AccessKey"))
342
+ DescribeLocationObjectStorageResponse.add_member(:server_port, Shapes::ShapeRef.new(shape: ObjectStorageServerPort, location_name: "ServerPort"))
343
+ DescribeLocationObjectStorageResponse.add_member(:server_protocol, Shapes::ShapeRef.new(shape: ObjectStorageServerProtocol, location_name: "ServerProtocol"))
344
+ DescribeLocationObjectStorageResponse.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
345
+ DescribeLocationObjectStorageResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
346
+ DescribeLocationObjectStorageResponse.struct_class = Types::DescribeLocationObjectStorageResponse
347
+
311
348
  DescribeLocationS3Request.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
312
349
  DescribeLocationS3Request.struct_class = Types::DescribeLocationS3Request
313
350
 
@@ -381,6 +418,8 @@ module Aws::DataSync
381
418
  FilterRule.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, location_name: "Value"))
382
419
  FilterRule.struct_class = Types::FilterRule
383
420
 
421
+ InputTagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
422
+
384
423
  InternalException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
385
424
  InternalException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "errorCode"))
386
425
  InternalException.struct_class = Types::InternalException
@@ -410,7 +449,7 @@ module Aws::DataSync
410
449
  ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
411
450
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
412
451
 
413
- ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
452
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTagList, location_name: "Tags"))
414
453
  ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
415
454
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
416
455
 
@@ -455,8 +494,11 @@ module Aws::DataSync
455
494
  Options.add_member(:bytes_per_second, Shapes::ShapeRef.new(shape: BytesPerSecond, location_name: "BytesPerSecond"))
456
495
  Options.add_member(:task_queueing, Shapes::ShapeRef.new(shape: TaskQueueing, location_name: "TaskQueueing"))
457
496
  Options.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "LogLevel"))
497
+ Options.add_member(:transfer_mode, Shapes::ShapeRef.new(shape: TransferMode, location_name: "TransferMode"))
458
498
  Options.struct_class = Types::Options
459
499
 
500
+ OutputTagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
501
+
460
502
  PLSecurityGroupArnList.member = Shapes::ShapeRef.new(shape: Ec2SecurityGroupArn)
461
503
 
462
504
  PLSubnetArnList.member = Shapes::ShapeRef.new(shape: Ec2SubnetArn)
@@ -485,14 +527,12 @@ module Aws::DataSync
485
527
 
486
528
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
487
529
 
488
- TagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
489
-
490
530
  TagListEntry.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
491
531
  TagListEntry.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
492
532
  TagListEntry.struct_class = Types::TagListEntry
493
533
 
494
534
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "ResourceArn"))
495
- TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
535
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, required: true, location_name: "Tags"))
496
536
  TagResourceRequest.struct_class = Types::TagResourceRequest
497
537
 
498
538
  TagResourceResponse.struct_class = Types::TagResourceResponse
@@ -616,6 +656,16 @@ module Aws::DataSync
616
656
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
617
657
  end)
618
658
 
659
+ api.add_operation(:create_location_object_storage, Seahorse::Model::Operation.new.tap do |o|
660
+ o.name = "CreateLocationObjectStorage"
661
+ o.http_method = "POST"
662
+ o.http_request_uri = "/"
663
+ o.input = Shapes::ShapeRef.new(shape: CreateLocationObjectStorageRequest)
664
+ o.output = Shapes::ShapeRef.new(shape: CreateLocationObjectStorageResponse)
665
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
666
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
667
+ end)
668
+
619
669
  api.add_operation(:create_location_s3, Seahorse::Model::Operation.new.tap do |o|
620
670
  o.name = "CreateLocationS3"
621
671
  o.http_method = "POST"
@@ -716,6 +766,16 @@ module Aws::DataSync
716
766
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
717
767
  end)
718
768
 
769
+ api.add_operation(:describe_location_object_storage, Seahorse::Model::Operation.new.tap do |o|
770
+ o.name = "DescribeLocationObjectStorage"
771
+ o.http_method = "POST"
772
+ o.http_request_uri = "/"
773
+ o.input = Shapes::ShapeRef.new(shape: DescribeLocationObjectStorageRequest)
774
+ o.output = Shapes::ShapeRef.new(shape: DescribeLocationObjectStorageResponse)
775
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
776
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
777
+ end)
778
+
719
779
  api.add_operation(:describe_location_s3, Seahorse::Model::Operation.new.tap do |o|
720
780
  o.name = "DescribeLocationS3"
721
781
  o.http_method = "POST"
@@ -115,10 +115,10 @@ module Aws::DataSync
115
115
  # @return [Array<Types::TagListEntry>]
116
116
  #
117
117
  # @!attribute [rw] vpc_endpoint_id
118
- # The ID of the VPC (Virtual Private Cloud) endpoint that the agent
118
+ # The ID of the VPC (virtual private cloud) endpoint that the agent
119
119
  # has access to. This is the client-side VPC endpoint, also called a
120
120
  # PrivateLink. If you don't have a PrivateLink VPC endpoint, see
121
- # [Creating a VPC Endpoint Service Configuration][1] in the AWS VPC
121
+ # [Creating a VPC Endpoint Service Configuration][1] in the Amazon VPC
122
122
  # User Guide.
123
123
  #
124
124
  # VPC endpoint ID looks like this: `vpce-01234d5aff67890e1`.
@@ -199,7 +199,7 @@ module Aws::DataSync
199
199
  # write data to the EFS destination. By default, AWS DataSync uses the
200
200
  # root directory.
201
201
  #
202
- # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
202
+ # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
203
203
  # `/path/to/folder`.
204
204
  #
205
205
  # </note>
@@ -393,9 +393,16 @@ module Aws::DataSync
393
393
  # files. For the agent to access directories, you must additionally
394
394
  # enable all execute access.
395
395
  #
396
+ # If you are copying data to or from your AWS Snowcone device, see
397
+ # [NFS Server on AWS Snowcone][1] for more information.
398
+ #
396
399
  # For information about NFS export configuration, see 18.7. The
397
400
  # /etc/exports Configuration File in the Red Hat Enterprise Linux
398
401
  # documentation.
402
+ #
403
+ #
404
+ #
405
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
399
406
  # @return [String]
400
407
  #
401
408
  # @!attribute [rw] server_hostname
@@ -404,15 +411,29 @@ module Aws::DataSync
404
411
  # installed on-premises uses this host name to mount the NFS server in
405
412
  # a network.
406
413
  #
414
+ # If you are copying data to or from your AWS Snowcone device, see
415
+ # [NFS Server on AWS Snowcone][1] for more information.
416
+ #
407
417
  # <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
408
418
  # (IPv4) address.
409
419
  #
410
420
  # </note>
421
+ #
422
+ #
423
+ #
424
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
411
425
  # @return [String]
412
426
  #
413
427
  # @!attribute [rw] on_prem_config
414
428
  # Contains a list of Amazon Resource Names (ARNs) of agents that are
415
429
  # used to connect to an NFS server.
430
+ #
431
+ # If you are copying data to or from your AWS Snowcone device, see
432
+ # [NFS Server on AWS Snowcone][1] for more information.
433
+ #
434
+ #
435
+ #
436
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
416
437
  # @return [Types::OnPremConfig]
417
438
  #
418
439
  # @!attribute [rw] mount_options
@@ -452,6 +473,109 @@ module Aws::DataSync
452
473
  include Aws::Structure
453
474
  end
454
475
 
476
+ # CreateLocationObjectStorageRequest
477
+ #
478
+ # @note When making an API call, you may pass CreateLocationObjectStorageRequest
479
+ # data as a hash:
480
+ #
481
+ # {
482
+ # server_hostname: "ServerHostname", # required
483
+ # server_port: 1,
484
+ # server_protocol: "HTTPS", # accepts HTTPS, HTTP
485
+ # subdirectory: "S3Subdirectory",
486
+ # bucket_name: "ObjectStorageBucketName", # required
487
+ # access_key: "ObjectStorageAccessKey",
488
+ # secret_key: "ObjectStorageSecretKey",
489
+ # agent_arns: ["AgentArn"], # required
490
+ # tags: [
491
+ # {
492
+ # key: "TagKey", # required
493
+ # value: "TagValue",
494
+ # },
495
+ # ],
496
+ # }
497
+ #
498
+ # @!attribute [rw] server_hostname
499
+ # The name of the self-managed object storage server. This value is
500
+ # the IP address or Domain Name Service (DNS) name of the object
501
+ # storage server. An agent uses this host name to mount the object
502
+ # storage server in a network.
503
+ # @return [String]
504
+ #
505
+ # @!attribute [rw] server_port
506
+ # The port that your self-managed object storage server accepts
507
+ # inbound network traffic on. The server port is set by default to TCP
508
+ # 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your
509
+ # self-managed object storage server requires one.
510
+ # @return [Integer]
511
+ #
512
+ # @!attribute [rw] server_protocol
513
+ # The protocol that the object storage server uses to communicate.
514
+ # Valid values are HTTP or HTTPS.
515
+ # @return [String]
516
+ #
517
+ # @!attribute [rw] subdirectory
518
+ # The subdirectory in the self-managed object storage server that is
519
+ # used to read data from.
520
+ # @return [String]
521
+ #
522
+ # @!attribute [rw] bucket_name
523
+ # The bucket on the self-managed object storage server that is used to
524
+ # read data from.
525
+ # @return [String]
526
+ #
527
+ # @!attribute [rw] access_key
528
+ # Optional. The access key is used if credentials are required to
529
+ # access the self-managed object storage server.
530
+ # @return [String]
531
+ #
532
+ # @!attribute [rw] secret_key
533
+ # Optional. The secret key is used if credentials are required to
534
+ # access the self-managed object storage server.
535
+ # @return [String]
536
+ #
537
+ # @!attribute [rw] agent_arns
538
+ # The Amazon Resource Name (ARN) of the agents associated with the
539
+ # self-managed object storage server location.
540
+ # @return [Array<String>]
541
+ #
542
+ # @!attribute [rw] tags
543
+ # The key-value pair that represents the tag that you want to add to
544
+ # the location. The value can be an empty string. We recommend using
545
+ # tags to name your resources.
546
+ # @return [Array<Types::TagListEntry>]
547
+ #
548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorageRequest AWS API Documentation
549
+ #
550
+ class CreateLocationObjectStorageRequest < Struct.new(
551
+ :server_hostname,
552
+ :server_port,
553
+ :server_protocol,
554
+ :subdirectory,
555
+ :bucket_name,
556
+ :access_key,
557
+ :secret_key,
558
+ :agent_arns,
559
+ :tags)
560
+ SENSITIVE = [:secret_key]
561
+ include Aws::Structure
562
+ end
563
+
564
+ # CreateLocationObjectStorageResponse
565
+ #
566
+ # @!attribute [rw] location_arn
567
+ # The Amazon Resource Name (ARN) of the agents associated with the
568
+ # self-managed object storage server location.
569
+ # @return [String]
570
+ #
571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorageResponse AWS API Documentation
572
+ #
573
+ class CreateLocationObjectStorageResponse < Struct.new(
574
+ :location_arn)
575
+ SENSITIVE = []
576
+ include Aws::Structure
577
+ end
578
+
455
579
  # CreateLocationS3Request
456
580
  #
457
581
  # @note When making an API call, you may pass CreateLocationS3Request
@@ -566,7 +690,7 @@ module Aws::DataSync
566
690
  # a subdirectory of that path. The path should be such that it can be
567
691
  # mounted by other SMB clients in your network.
568
692
  #
569
- # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
693
+ # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
570
694
  # `/path/to/folder`.
571
695
  #
572
696
  # </note>
@@ -676,6 +800,7 @@ module Aws::DataSync
676
800
  # bytes_per_second: 1,
677
801
  # task_queueing: "ENABLED", # accepts ENABLED, DISABLED
678
802
  # log_level: "OFF", # accepts OFF, BASIC, TRANSFER
803
+ # transfer_mode: "CHANGED", # accepts CHANGED, ALL
679
804
  # },
680
805
  # excludes: [
681
806
  # {
@@ -706,12 +831,6 @@ module Aws::DataSync
706
831
  # @!attribute [rw] cloud_watch_log_group_arn
707
832
  # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group
708
833
  # that is used to monitor and log events in the task.
709
- #
710
- # For more information on these groups, see Working with Log Groups
711
- # and Log Streams in the *Amazon CloudWatch User Guide.*
712
- #
713
- # For more information about how to use CloudWatch Logs with DataSync,
714
- # see Monitoring Your Task in the *AWS DataSync User Guide.*
715
834
  # @return [String]
716
835
  #
717
836
  # @!attribute [rw] name
@@ -727,7 +846,7 @@ module Aws::DataSync
727
846
  # data integrity verification, and so on.
728
847
  #
729
848
  # For each individual task execution, you can override these options
730
- # by specifying the `OverrideOptions` before starting a the task
849
+ # by specifying the `OverrideOptions` before starting the task
731
850
  # execution. For more information, see the operation.
732
851
  # @return [Types::Options]
733
852
  #
@@ -907,7 +1026,7 @@ module Aws::DataSync
907
1026
  # @!attribute [rw] endpoint_type
908
1027
  # The type of endpoint that your agent is connected to. If the
909
1028
  # endpoint is a VPC endpoint, the agent is not accessible over the
910
- # public Internet.
1029
+ # public internet.
911
1030
  # @return [String]
912
1031
  #
913
1032
  # @!attribute [rw] private_link_config
@@ -953,7 +1072,7 @@ module Aws::DataSync
953
1072
  # DescribeLocationEfsResponse
954
1073
  #
955
1074
  # @!attribute [rw] location_arn
956
- # The Amazon resource Name (ARN) of the EFS location that was
1075
+ # The Amazon Resource Name (ARN) of the EFS location that was
957
1076
  # described.
958
1077
  # @return [String]
959
1078
  #
@@ -1005,7 +1124,7 @@ module Aws::DataSync
1005
1124
  end
1006
1125
 
1007
1126
  # @!attribute [rw] location_arn
1008
- # The Amazon resource Name (ARN) of the FSx for Windows location that
1127
+ # The Amazon Resource Name (ARN) of the FSx for Windows location that
1009
1128
  # was described.
1010
1129
  # @return [String]
1011
1130
  #
@@ -1015,7 +1134,7 @@ module Aws::DataSync
1015
1134
  #
1016
1135
  # @!attribute [rw] security_group_arns
1017
1136
  # The Amazon Resource Names (ARNs) of the security groups that are
1018
- # configured for the for the FSx for Windows file system.
1137
+ # configured for the FSx for Windows file system.
1019
1138
  # @return [Array<String>]
1020
1139
  #
1021
1140
  # @!attribute [rw] creation_time
@@ -1055,7 +1174,7 @@ module Aws::DataSync
1055
1174
  # }
1056
1175
  #
1057
1176
  # @!attribute [rw] location_arn
1058
- # The Amazon resource Name (ARN) of the NFS location to describe.
1177
+ # The Amazon Resource Name (ARN) of the NFS location to describe.
1059
1178
  # @return [String]
1060
1179
  #
1061
1180
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationNfsRequest AWS API Documentation
@@ -1069,7 +1188,7 @@ module Aws::DataSync
1069
1188
  # DescribeLocationNfsResponse
1070
1189
  #
1071
1190
  # @!attribute [rw] location_arn
1072
- # The Amazon resource Name (ARN) of the NFS location that was
1191
+ # The Amazon Resource Name (ARN) of the NFS location that was
1073
1192
  # described.
1074
1193
  # @return [String]
1075
1194
  #
@@ -1102,6 +1221,80 @@ module Aws::DataSync
1102
1221
  include Aws::Structure
1103
1222
  end
1104
1223
 
1224
+ # DescribeLocationObjectStorageRequest
1225
+ #
1226
+ # @note When making an API call, you may pass DescribeLocationObjectStorageRequest
1227
+ # data as a hash:
1228
+ #
1229
+ # {
1230
+ # location_arn: "LocationArn", # required
1231
+ # }
1232
+ #
1233
+ # @!attribute [rw] location_arn
1234
+ # The Amazon Resource Name (ARN) of the self-managed object storage
1235
+ # server location that was described.
1236
+ # @return [String]
1237
+ #
1238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorageRequest AWS API Documentation
1239
+ #
1240
+ class DescribeLocationObjectStorageRequest < Struct.new(
1241
+ :location_arn)
1242
+ SENSITIVE = []
1243
+ include Aws::Structure
1244
+ end
1245
+
1246
+ # DescribeLocationObjectStorageResponse
1247
+ #
1248
+ # @!attribute [rw] location_arn
1249
+ # The Amazon Resource Name (ARN) of the self-managed object storage
1250
+ # server location to describe.
1251
+ # @return [String]
1252
+ #
1253
+ # @!attribute [rw] location_uri
1254
+ # The URL of the source self-managed object storage server location
1255
+ # that was described.
1256
+ # @return [String]
1257
+ #
1258
+ # @!attribute [rw] access_key
1259
+ # Optional. The access key is used if credentials are required to
1260
+ # access the self-managed object storage server.
1261
+ # @return [String]
1262
+ #
1263
+ # @!attribute [rw] server_port
1264
+ # The port that your self-managed object storage server accepts
1265
+ # inbound network traffic on. The server port is set by default to TCP
1266
+ # 80 (HTTP) or TCP 443 (HTTPS).
1267
+ # @return [Integer]
1268
+ #
1269
+ # @!attribute [rw] server_protocol
1270
+ # The protocol that the object storage server uses to communicate.
1271
+ # Valid values are HTTP or HTTPS.
1272
+ # @return [String]
1273
+ #
1274
+ # @!attribute [rw] agent_arns
1275
+ # The Amazon Resource Name (ARN) of the agents associated with the
1276
+ # self-managed object storage server location.
1277
+ # @return [Array<String>]
1278
+ #
1279
+ # @!attribute [rw] creation_time
1280
+ # The time that the self-managed object storage server agent was
1281
+ # created.
1282
+ # @return [Time]
1283
+ #
1284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorageResponse AWS API Documentation
1285
+ #
1286
+ class DescribeLocationObjectStorageResponse < Struct.new(
1287
+ :location_arn,
1288
+ :location_uri,
1289
+ :access_key,
1290
+ :server_port,
1291
+ :server_protocol,
1292
+ :agent_arns,
1293
+ :creation_time)
1294
+ SENSITIVE = []
1295
+ include Aws::Structure
1296
+ end
1297
+
1105
1298
  # DescribeLocationS3Request
1106
1299
  #
1107
1300
  # @note When making an API call, you may pass DescribeLocationS3Request
@@ -1181,7 +1374,7 @@ module Aws::DataSync
1181
1374
  # }
1182
1375
  #
1183
1376
  # @!attribute [rw] location_arn
1184
- # The Amazon resource Name (ARN) of the SMB location to describe.
1377
+ # The Amazon Resource Name (ARN) of the SMB location to describe.
1185
1378
  # @return [String]
1186
1379
  #
1187
1380
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmbRequest AWS API Documentation
@@ -1195,7 +1388,7 @@ module Aws::DataSync
1195
1388
  # DescribeLocationSmbResponse
1196
1389
  #
1197
1390
  # @!attribute [rw] location_arn
1198
- # The Amazon resource Name (ARN) of the SMB location that was
1391
+ # The Amazon Resource Name (ARN) of the SMB location that was
1199
1392
  # described.
1200
1393
  # @return [String]
1201
1394
  #
@@ -1987,21 +2180,29 @@ module Aws::DataSync
1987
2180
  # bytes_per_second: 1,
1988
2181
  # task_queueing: "ENABLED", # accepts ENABLED, DISABLED
1989
2182
  # log_level: "OFF", # accepts OFF, BASIC, TRANSFER
2183
+ # transfer_mode: "CHANGED", # accepts CHANGED, ALL
1990
2184
  # }
1991
2185
  #
1992
2186
  # @!attribute [rw] verify_mode
1993
2187
  # A value that determines whether a data integrity verification should
1994
2188
  # be performed at the end of a task execution after all data and
1995
- # metadata have been transferred.
2189
+ # metadata have been transferred. For more information, see
2190
+ # create-task
1996
2191
  #
1997
2192
  # Default value: POINT\_IN\_TIME\_CONSISTENT.
1998
2193
  #
1999
- # POINT\_IN\_TIME\_CONSISTENT: Perform verification (recommended).
2194
+ # ONLY\_FILES\_TRANSFERRED (recommended): Perform verification only on
2195
+ # files that were transferred.
2000
2196
  #
2001
- # ONLY\_FILES\_TRANSFERRED: Perform verification on only files that
2002
- # were transferred.
2197
+ # POINT\_IN\_TIME\_CONSISTENT: Scan the entire source and entire
2198
+ # destination at the end of the transfer to verify that source and
2199
+ # destination are fully synchronized. This option isn't supported
2200
+ # when transferring to S3 Glacier or S3 Glacier Deep Archive storage
2201
+ # classes.
2003
2202
  #
2004
- # NONE: Skip verification.
2203
+ # NONE: No additional verification is done at the end of the transfer,
2204
+ # but all data transmissions are integrity-checked with checksum
2205
+ # verification during the transfer.
2005
2206
  # @return [String]
2006
2207
  #
2007
2208
  # @!attribute [rw] overwrite_mode
@@ -2143,17 +2344,31 @@ module Aws::DataSync
2143
2344
  # executing the tasks. If set to `ENABLED`, the tasks will be queued.
2144
2345
  # The default is `ENABLED`.
2145
2346
  #
2146
- # If you use the same agent to run multiple tasks you can enable the
2147
- # tasks to run in series. For more information see
2347
+ # If you use the same agent to run multiple tasks, you can enable the
2348
+ # tasks to run in series. For more information, see
2148
2349
  # queue-task-execution.
2149
2350
  # @return [String]
2150
2351
  #
2151
2352
  # @!attribute [rw] log_level
2152
- # A value that determines the type of logs DataSync will deliver to
2153
- # your AWS CloudWatch Logs file. If set to `OFF`, no logs will be
2154
- # delivered. `BASIC` will deliver a few logs per transfer operation
2155
- # and `TRANSFER` will deliver a verbose log that contains logs for
2156
- # every file that is transferred.
2353
+ # A value that determines the type of logs that DataSync publishes to
2354
+ # a log stream in the Amazon CloudWatch log group that you provide.
2355
+ # For more information about providing a log group for DataSync, see
2356
+ # [CloudWatchLogGroupArn][1]. If set to `OFF`, no logs are published.
2357
+ # `BASIC` publishes logs on errors for individual files transferred,
2358
+ # and `TRANSFER` publishes logs for every file or object that is
2359
+ # transferred and integrity checked.
2360
+ #
2361
+ #
2362
+ #
2363
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateTask.html#DataSync-CreateTask-request-CloudWatchLogGroupArn
2364
+ # @return [String]
2365
+ #
2366
+ # @!attribute [rw] transfer_mode
2367
+ # TransferMode has two values: CHANGED and ALL. CHANGED performs an
2368
+ # "incremental" or "delta sync", it compares file modification
2369
+ # time between source and destination to determine which files need to
2370
+ # be transferred. ALL skips destination inventory and transfers all
2371
+ # files discovered on the source.
2157
2372
  # @return [String]
2158
2373
  #
2159
2374
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Options AWS API Documentation
@@ -2170,24 +2385,25 @@ module Aws::DataSync
2170
2385
  :posix_permissions,
2171
2386
  :bytes_per_second,
2172
2387
  :task_queueing,
2173
- :log_level)
2388
+ :log_level,
2389
+ :transfer_mode)
2174
2390
  SENSITIVE = []
2175
2391
  include Aws::Structure
2176
2392
  end
2177
2393
 
2178
- # The VPC endpoint, subnet and security group that an agent uses to
2394
+ # The VPC endpoint, subnet, and security group that an agent uses to
2179
2395
  # access IP addresses in a VPC (Virtual Private Cloud).
2180
2396
  #
2181
2397
  # @!attribute [rw] vpc_endpoint_id
2182
2398
  # The ID of the VPC endpoint that is configured for an agent. An agent
2183
2399
  # that is configured with a VPC endpoint will not be accessible over
2184
- # the public Internet.
2400
+ # the public internet.
2185
2401
  # @return [String]
2186
2402
  #
2187
2403
  # @!attribute [rw] private_link_endpoint
2188
2404
  # The private endpoint that is configured for an agent that has access
2189
2405
  # to IP addresses in a [PrivateLink][1]. An agent that is configured
2190
- # with this endpoint will not be accessible over the public Internet.
2406
+ # with this endpoint will not be accessible over the public internet.
2191
2407
  #
2192
2408
  #
2193
2409
  #
@@ -2288,6 +2504,7 @@ module Aws::DataSync
2288
2504
  # bytes_per_second: 1,
2289
2505
  # task_queueing: "ENABLED", # accepts ENABLED, DISABLED
2290
2506
  # log_level: "OFF", # accepts OFF, BASIC, TRANSFER
2507
+ # transfer_mode: "CHANGED", # accepts CHANGED, ALL
2291
2508
  # },
2292
2509
  # includes: [
2293
2510
  # {
@@ -2634,6 +2851,7 @@ module Aws::DataSync
2634
2851
  # bytes_per_second: 1,
2635
2852
  # task_queueing: "ENABLED", # accepts ENABLED, DISABLED
2636
2853
  # log_level: "OFF", # accepts OFF, BASIC, TRANSFER
2854
+ # transfer_mode: "CHANGED", # accepts CHANGED, ALL
2637
2855
  # },
2638
2856
  # excludes: [
2639
2857
  # {
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.22.0
4
+ version: 1.23.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: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core