aws-sdk-datasync 1.62.0 → 1.64.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +290 -93
- data/lib/aws-sdk-datasync/client_api.rb +84 -0
- data/lib/aws-sdk-datasync/endpoints.rb +42 -0
- data/lib/aws-sdk-datasync/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-datasync/types.rb +338 -114
- data/lib/aws-sdk-datasync.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57f28f79db439d714373ac5f32860203ba051d0049a3b3a999ae8dea31aa1675
|
4
|
+
data.tar.gz: 7719ec1da51d741b92c4de227f2040219aac876f1538625397ff91027a972af4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff312076f54c88de8792694c943bfca0dba6163fca652a46eb675a36173bfc7d96a934ac89f7cd0adab30ebd612fd68cbf56fde5157fe05695b5879ec8b6f13e
|
7
|
+
data.tar.gz: 992649735bbc619082bb1f6a9e023a7250a13e3b19cb60dd239c9d579213f1958f99305616ec0dbe0b7aa032a478fc0a5c6ddf970d82f8b894747084ca44f83c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2023-08-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Display cloud storage used capacity at a cluster level.
|
8
|
+
|
9
|
+
1.63.0 (2023-07-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS DataSync now supports Microsoft Azure Blob Storage locations.
|
13
|
+
|
4
14
|
1.62.0 (2023-07-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
@@ -417,7 +417,7 @@ module Aws::DataSync
|
|
417
417
|
# @option params [required, Array<String>] :agent_arns
|
418
418
|
# Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
419
419
|
# connects to and reads from your on-premises storage system's
|
420
|
-
# management interface.
|
420
|
+
# management interface. You can only specify one ARN.
|
421
421
|
#
|
422
422
|
# @option params [String] :cloud_watch_log_group_arn
|
423
423
|
# Specifies the ARN of the Amazon CloudWatch log group for monitoring
|
@@ -565,7 +565,8 @@ module Aws::DataSync
|
|
565
565
|
# @option params [Array<String>] :subnet_arns
|
566
566
|
# Specifies the ARN of the subnet where you want to run your DataSync
|
567
567
|
# task when using a VPC endpoint. This is the subnet where DataSync
|
568
|
-
# creates and manages the [network interfaces][1] for your transfer.
|
568
|
+
# creates and manages the [network interfaces][1] for your transfer. You
|
569
|
+
# can only specify one ARN.
|
569
570
|
#
|
570
571
|
#
|
571
572
|
#
|
@@ -574,7 +575,7 @@ module Aws::DataSync
|
|
574
575
|
# @option params [Array<String>] :security_group_arns
|
575
576
|
# Specifies the Amazon Resource Name (ARN) of the security group that
|
576
577
|
# protects your task's [network interfaces][1] when [using a virtual
|
577
|
-
# private cloud (VPC) endpoint][2].
|
578
|
+
# private cloud (VPC) endpoint][2]. You can only specify one ARN.
|
578
579
|
#
|
579
580
|
#
|
580
581
|
#
|
@@ -614,6 +615,110 @@ module Aws::DataSync
|
|
614
615
|
req.send_request(options)
|
615
616
|
end
|
616
617
|
|
618
|
+
# Creates an endpoint for a Microsoft Azure Blob Storage container that
|
619
|
+
# DataSync can use as a transfer source or destination.
|
620
|
+
#
|
621
|
+
# Before you begin, make sure you know [how DataSync accesses Azure Blob
|
622
|
+
# Storage][1] and works with [access tiers][2] and [blob types][3]. You
|
623
|
+
# also need a [DataSync agent][4] that can connect to your container.
|
624
|
+
#
|
625
|
+
#
|
626
|
+
#
|
627
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access
|
628
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers
|
629
|
+
# [3]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#blob-types
|
630
|
+
# [4]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-creating-agent
|
631
|
+
#
|
632
|
+
# @option params [required, String] :container_url
|
633
|
+
# Specifies the URL of the Azure Blob Storage container involved in your
|
634
|
+
# transfer.
|
635
|
+
#
|
636
|
+
# @option params [required, String] :authentication_type
|
637
|
+
# Specifies the authentication method DataSync uses to access your Azure
|
638
|
+
# Blob Storage. DataSync can access blob storage using a shared access
|
639
|
+
# signature (SAS).
|
640
|
+
#
|
641
|
+
# @option params [Types::AzureBlobSasConfiguration] :sas_configuration
|
642
|
+
# Specifies the SAS configuration that allows DataSync to access your
|
643
|
+
# Azure Blob Storage.
|
644
|
+
#
|
645
|
+
# @option params [String] :blob_type
|
646
|
+
# Specifies the type of blob that you want your objects or files to be
|
647
|
+
# when transferring them into Azure Blob Storage. Currently, DataSync
|
648
|
+
# only supports moving data into Azure Blob Storage as block blobs. For
|
649
|
+
# more information on blob types, see the [Azure Blob Storage
|
650
|
+
# documentation][1].
|
651
|
+
#
|
652
|
+
#
|
653
|
+
#
|
654
|
+
# [1]: https://learn.microsoft.com/en-us/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs
|
655
|
+
#
|
656
|
+
# @option params [String] :access_tier
|
657
|
+
# Specifies the access tier that you want your objects or files
|
658
|
+
# transferred into. This only applies when using the location as a
|
659
|
+
# transfer destination. For more information, see [Access tiers][1].
|
660
|
+
#
|
661
|
+
#
|
662
|
+
#
|
663
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers
|
664
|
+
#
|
665
|
+
# @option params [String] :subdirectory
|
666
|
+
# Specifies path segments if you want to limit your transfer to a
|
667
|
+
# virtual directory in your container (for example, `/my/images`).
|
668
|
+
#
|
669
|
+
# @option params [required, Array<String>] :agent_arns
|
670
|
+
# Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
671
|
+
# can connect with your Azure Blob Storage container.
|
672
|
+
#
|
673
|
+
# You can specify more than one agent. For more information, see [Using
|
674
|
+
# multiple agents for your transfer][1].
|
675
|
+
#
|
676
|
+
#
|
677
|
+
#
|
678
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html
|
679
|
+
#
|
680
|
+
# @option params [Array<Types::TagListEntry>] :tags
|
681
|
+
# Specifies labels that help you categorize, filter, and search for your
|
682
|
+
# Amazon Web Services resources. We recommend creating at least a name
|
683
|
+
# tag for your transfer location.
|
684
|
+
#
|
685
|
+
# @return [Types::CreateLocationAzureBlobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
686
|
+
#
|
687
|
+
# * {Types::CreateLocationAzureBlobResponse#location_arn #location_arn} => String
|
688
|
+
#
|
689
|
+
# @example Request syntax with placeholder values
|
690
|
+
#
|
691
|
+
# resp = client.create_location_azure_blob({
|
692
|
+
# container_url: "AzureBlobContainerUrl", # required
|
693
|
+
# authentication_type: "SAS", # required, accepts SAS
|
694
|
+
# sas_configuration: {
|
695
|
+
# token: "AzureBlobSasToken", # required
|
696
|
+
# },
|
697
|
+
# blob_type: "BLOCK", # accepts BLOCK
|
698
|
+
# access_tier: "HOT", # accepts HOT, COOL, ARCHIVE
|
699
|
+
# subdirectory: "AzureBlobSubdirectory",
|
700
|
+
# agent_arns: ["AgentArn"], # required
|
701
|
+
# tags: [
|
702
|
+
# {
|
703
|
+
# key: "TagKey", # required
|
704
|
+
# value: "TagValue",
|
705
|
+
# },
|
706
|
+
# ],
|
707
|
+
# })
|
708
|
+
#
|
709
|
+
# @example Response structure
|
710
|
+
#
|
711
|
+
# resp.location_arn #=> String
|
712
|
+
#
|
713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationAzureBlob AWS API Documentation
|
714
|
+
#
|
715
|
+
# @overload create_location_azure_blob(params = {})
|
716
|
+
# @param [Hash] params ({})
|
717
|
+
def create_location_azure_blob(params = {}, options = {})
|
718
|
+
req = build_request(:create_location_azure_blob, params)
|
719
|
+
req.send_request(options)
|
720
|
+
end
|
721
|
+
|
617
722
|
# Creates an endpoint for an Amazon EFS file system that DataSync can
|
618
723
|
# access for a transfer. For more information, see [Creating a location
|
619
724
|
# for Amazon EFS][1].
|
@@ -1151,76 +1256,58 @@ module Aws::DataSync
|
|
1151
1256
|
req.send_request(options)
|
1152
1257
|
end
|
1153
1258
|
|
1154
|
-
#
|
1155
|
-
#
|
1259
|
+
# Creates an endpoint for a Network File System (NFS) file server that
|
1260
|
+
# DataSync can use for a data transfer.
|
1156
1261
|
#
|
1157
|
-
#
|
1158
|
-
#
|
1159
|
-
# the NFS source location or write data to the NFS destination. The NFS
|
1160
|
-
# path should be a path that's exported by the NFS server, or a
|
1161
|
-
# subdirectory of that path. The path should be such that it can be
|
1162
|
-
# mounted by other NFS clients in your network.
|
1163
|
-
#
|
1164
|
-
# To see all the paths exported by your NFS server, run "`showmount -e
|
1165
|
-
# nfs-server-name`" from an NFS client that has access to your server.
|
1166
|
-
# You can specify any directory that appears in the results, and any
|
1167
|
-
# subdirectory of that directory. Ensure that the NFS export is
|
1168
|
-
# accessible without Kerberos authentication.
|
1169
|
-
#
|
1170
|
-
# To transfer all the data in the folder you specified, DataSync needs
|
1171
|
-
# to have permissions to read all the data. To ensure this, either
|
1172
|
-
# configure the NFS export with `no_root_squash,` or ensure that the
|
1173
|
-
# permissions for all of the files that you want DataSync allow read
|
1174
|
-
# access for all users. Doing either enables the agent to read the
|
1175
|
-
# files. For the agent to access directories, you must additionally
|
1176
|
-
# enable all execute access.
|
1177
|
-
#
|
1178
|
-
# If you are copying data to or from your Snowcone device, see [NFS
|
1179
|
-
# Server on Snowcone][1] for more information.
|
1262
|
+
# For more information, see [Configuring transfers to or from an NFS
|
1263
|
+
# file server][1].
|
1180
1264
|
#
|
1181
|
-
#
|
1182
|
-
#
|
1183
|
-
#
|
1265
|
+
# <note markdown="1"> If you're copying data to or from an Snowcone device, you can also
|
1266
|
+
# use `CreateLocationNfs` to create your transfer location. For more
|
1267
|
+
# information, see [Configuring transfers with Snowcone][2].
|
1184
1268
|
#
|
1269
|
+
# </note>
|
1185
1270
|
#
|
1186
1271
|
#
|
1187
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
1188
1272
|
#
|
1189
|
-
#
|
1190
|
-
#
|
1191
|
-
# Name Service (DNS) name of the NFS server. An agent that is installed
|
1192
|
-
# on-premises uses this hostname to mount the NFS server in a network.
|
1273
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html
|
1274
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/nfs-on-snowcone.html
|
1193
1275
|
#
|
1194
|
-
#
|
1195
|
-
#
|
1276
|
+
# @option params [required, String] :subdirectory
|
1277
|
+
# Specifies the export path in your NFS file server that you want
|
1278
|
+
# DataSync to mount.
|
1196
1279
|
#
|
1197
|
-
#
|
1198
|
-
#
|
1280
|
+
# This path (or a subdirectory of the path) is where DataSync transfers
|
1281
|
+
# data to or from. For information on configuring an export for
|
1282
|
+
# DataSync, see [Accessing NFS file servers][1].
|
1199
1283
|
#
|
1200
|
-
# </note>
|
1201
1284
|
#
|
1202
1285
|
#
|
1286
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs
|
1203
1287
|
#
|
1204
|
-
#
|
1288
|
+
# @option params [required, String] :server_hostname
|
1289
|
+
# Specifies the Domain Name System (DNS) name or IP version 4 address of
|
1290
|
+
# the NFS file server that your DataSync agent connects to.
|
1205
1291
|
#
|
1206
1292
|
# @option params [required, Types::OnPremConfig] :on_prem_config
|
1207
|
-
#
|
1208
|
-
#
|
1293
|
+
# Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
1294
|
+
# want to connect to your NFS file server.
|
1209
1295
|
#
|
1210
|
-
#
|
1211
|
-
#
|
1296
|
+
# You can specify more than one agent. For more information, see [Using
|
1297
|
+
# multiple agents for transfers][1].
|
1212
1298
|
#
|
1213
1299
|
#
|
1214
1300
|
#
|
1215
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/
|
1301
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html
|
1216
1302
|
#
|
1217
1303
|
# @option params [Types::NfsMountOptions] :mount_options
|
1218
|
-
#
|
1304
|
+
# Specifies the options that DataSync can use to mount your NFS file
|
1305
|
+
# server.
|
1219
1306
|
#
|
1220
1307
|
# @option params [Array<Types::TagListEntry>] :tags
|
1221
|
-
#
|
1222
|
-
#
|
1223
|
-
#
|
1308
|
+
# Specifies labels that help you categorize, filter, and search for your
|
1309
|
+
# Amazon Web Services resources. We recommend creating at least a name
|
1310
|
+
# tag for your location.
|
1224
1311
|
#
|
1225
1312
|
# @return [Types::CreateLocationNfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1226
1313
|
#
|
@@ -1464,8 +1551,10 @@ module Aws::DataSync
|
|
1464
1551
|
end
|
1465
1552
|
|
1466
1553
|
# Creates an endpoint for a Server Message Block (SMB) file server that
|
1467
|
-
# DataSync can
|
1468
|
-
#
|
1554
|
+
# DataSync can use for a data transfer.
|
1555
|
+
#
|
1556
|
+
# Before you begin, make sure that you understand how DataSync [accesses
|
1557
|
+
# an SMB file server][1].
|
1469
1558
|
#
|
1470
1559
|
#
|
1471
1560
|
#
|
@@ -1876,6 +1965,49 @@ module Aws::DataSync
|
|
1876
1965
|
req.send_request(options)
|
1877
1966
|
end
|
1878
1967
|
|
1968
|
+
# Provides details about how an DataSync transfer location for Microsoft
|
1969
|
+
# Azure Blob Storage is configured.
|
1970
|
+
#
|
1971
|
+
# @option params [required, String] :location_arn
|
1972
|
+
# Specifies the Amazon Resource Name (ARN) of your Azure Blob Storage
|
1973
|
+
# transfer location.
|
1974
|
+
#
|
1975
|
+
# @return [Types::DescribeLocationAzureBlobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1976
|
+
#
|
1977
|
+
# * {Types::DescribeLocationAzureBlobResponse#location_arn #location_arn} => String
|
1978
|
+
# * {Types::DescribeLocationAzureBlobResponse#location_uri #location_uri} => String
|
1979
|
+
# * {Types::DescribeLocationAzureBlobResponse#authentication_type #authentication_type} => String
|
1980
|
+
# * {Types::DescribeLocationAzureBlobResponse#blob_type #blob_type} => String
|
1981
|
+
# * {Types::DescribeLocationAzureBlobResponse#access_tier #access_tier} => String
|
1982
|
+
# * {Types::DescribeLocationAzureBlobResponse#agent_arns #agent_arns} => Array<String>
|
1983
|
+
# * {Types::DescribeLocationAzureBlobResponse#creation_time #creation_time} => Time
|
1984
|
+
#
|
1985
|
+
# @example Request syntax with placeholder values
|
1986
|
+
#
|
1987
|
+
# resp = client.describe_location_azure_blob({
|
1988
|
+
# location_arn: "LocationArn", # required
|
1989
|
+
# })
|
1990
|
+
#
|
1991
|
+
# @example Response structure
|
1992
|
+
#
|
1993
|
+
# resp.location_arn #=> String
|
1994
|
+
# resp.location_uri #=> String
|
1995
|
+
# resp.authentication_type #=> String, one of "SAS"
|
1996
|
+
# resp.blob_type #=> String, one of "BLOCK"
|
1997
|
+
# resp.access_tier #=> String, one of "HOT", "COOL", "ARCHIVE"
|
1998
|
+
# resp.agent_arns #=> Array
|
1999
|
+
# resp.agent_arns[0] #=> String
|
2000
|
+
# resp.creation_time #=> Time
|
2001
|
+
#
|
2002
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationAzureBlob AWS API Documentation
|
2003
|
+
#
|
2004
|
+
# @overload describe_location_azure_blob(params = {})
|
2005
|
+
# @param [Hash] params ({})
|
2006
|
+
def describe_location_azure_blob(params = {}, options = {})
|
2007
|
+
req = build_request(:describe_location_azure_blob, params)
|
2008
|
+
req.send_request(options)
|
2009
|
+
end
|
2010
|
+
|
1879
2011
|
# Returns metadata about your DataSync location for an Amazon EFS file
|
1880
2012
|
# system.
|
1881
2013
|
#
|
@@ -2154,10 +2286,12 @@ module Aws::DataSync
|
|
2154
2286
|
req.send_request(options)
|
2155
2287
|
end
|
2156
2288
|
|
2157
|
-
#
|
2289
|
+
# Provides details about how an DataSync transfer location for a Network
|
2290
|
+
# File System (NFS) file server is configured.
|
2158
2291
|
#
|
2159
2292
|
# @option params [required, String] :location_arn
|
2160
|
-
#
|
2293
|
+
# Specifies the Amazon Resource Name (ARN) of the NFS location that you
|
2294
|
+
# want information about.
|
2161
2295
|
#
|
2162
2296
|
# @return [Types::DescribeLocationNfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2163
2297
|
#
|
@@ -2439,6 +2573,7 @@ module Aws::DataSync
|
|
2439
2573
|
# resp.metrics[0].capacity.used #=> Integer
|
2440
2574
|
# resp.metrics[0].capacity.provisioned #=> Integer
|
2441
2575
|
# resp.metrics[0].capacity.logical_used #=> Integer
|
2576
|
+
# resp.metrics[0].capacity.cluster_cloud_storage_used #=> Integer
|
2442
2577
|
# resp.metrics[0].resource_id #=> String
|
2443
2578
|
# resp.metrics[0].resource_type #=> String, one of "SVM", "VOLUME", "CLUSTER"
|
2444
2579
|
# resp.next_token #=> String
|
@@ -2589,6 +2724,7 @@ module Aws::DataSync
|
|
2589
2724
|
# resp.resource_details.net_app_ontap_clusters[0].recommendations[0].estimated_monthly_storage_cost #=> String
|
2590
2725
|
# resp.resource_details.net_app_ontap_clusters[0].recommendation_status #=> String, one of "NONE", "IN_PROGRESS", "COMPLETED", "FAILED"
|
2591
2726
|
# resp.resource_details.net_app_ontap_clusters[0].lun_count #=> Integer
|
2727
|
+
# resp.resource_details.net_app_ontap_clusters[0].cluster_cloud_storage_used #=> Integer
|
2592
2728
|
# resp.next_token #=> String
|
2593
2729
|
#
|
2594
2730
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeStorageSystemResources AWS API Documentation
|
@@ -2600,10 +2736,10 @@ module Aws::DataSync
|
|
2600
2736
|
req.send_request(options)
|
2601
2737
|
end
|
2602
2738
|
|
2603
|
-
#
|
2739
|
+
# Provides information about an DataSync transfer task.
|
2604
2740
|
#
|
2605
2741
|
# @option params [required, String] :task_arn
|
2606
|
-
#
|
2742
|
+
# Specifies the Amazon Resource Name (ARN) of the transfer task.
|
2607
2743
|
#
|
2608
2744
|
# @return [Types::DescribeTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2609
2745
|
#
|
@@ -2678,10 +2814,11 @@ module Aws::DataSync
|
|
2678
2814
|
req.send_request(options)
|
2679
2815
|
end
|
2680
2816
|
|
2681
|
-
#
|
2817
|
+
# Provides information about an DataSync transfer task that's running.
|
2682
2818
|
#
|
2683
2819
|
# @option params [required, String] :task_execution_arn
|
2684
|
-
#
|
2820
|
+
# Specifies the Amazon Resource Name (ARN) of the transfer task that's
|
2821
|
+
# running.
|
2685
2822
|
#
|
2686
2823
|
# @return [Types::DescribeTaskExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2687
2824
|
#
|
@@ -3502,6 +3639,82 @@ module Aws::DataSync
|
|
3502
3639
|
req.send_request(options)
|
3503
3640
|
end
|
3504
3641
|
|
3642
|
+
# Modifies some configurations of the Microsoft Azure Blob Storage
|
3643
|
+
# transfer location that you're using with DataSync.
|
3644
|
+
#
|
3645
|
+
# @option params [required, String] :location_arn
|
3646
|
+
# Specifies the ARN of the Azure Blob Storage transfer location that
|
3647
|
+
# you're updating.
|
3648
|
+
#
|
3649
|
+
# @option params [String] :subdirectory
|
3650
|
+
# Specifies path segments if you want to limit your transfer to a
|
3651
|
+
# virtual directory in your container (for example, `/my/images`).
|
3652
|
+
#
|
3653
|
+
# @option params [String] :authentication_type
|
3654
|
+
# Specifies the authentication method DataSync uses to access your Azure
|
3655
|
+
# Blob Storage. DataSync can access blob storage using a shared access
|
3656
|
+
# signature (SAS).
|
3657
|
+
#
|
3658
|
+
# @option params [Types::AzureBlobSasConfiguration] :sas_configuration
|
3659
|
+
# Specifies the SAS configuration that allows DataSync to access your
|
3660
|
+
# Azure Blob Storage.
|
3661
|
+
#
|
3662
|
+
# @option params [String] :blob_type
|
3663
|
+
# Specifies the type of blob that you want your objects or files to be
|
3664
|
+
# when transferring them into Azure Blob Storage. Currently, DataSync
|
3665
|
+
# only supports moving data into Azure Blob Storage as block blobs. For
|
3666
|
+
# more information on blob types, see the [Azure Blob Storage
|
3667
|
+
# documentation][1].
|
3668
|
+
#
|
3669
|
+
#
|
3670
|
+
#
|
3671
|
+
# [1]: https://learn.microsoft.com/en-us/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs
|
3672
|
+
#
|
3673
|
+
# @option params [String] :access_tier
|
3674
|
+
# Specifies the access tier that you want your objects or files
|
3675
|
+
# transferred into. This only applies when using the location as a
|
3676
|
+
# transfer destination. For more information, see [Access tiers][1].
|
3677
|
+
#
|
3678
|
+
#
|
3679
|
+
#
|
3680
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers
|
3681
|
+
#
|
3682
|
+
# @option params [Array<String>] :agent_arns
|
3683
|
+
# Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
3684
|
+
# can connect with your Azure Blob Storage container.
|
3685
|
+
#
|
3686
|
+
# You can specify more than one agent. For more information, see [Using
|
3687
|
+
# multiple agents for your transfer][1].
|
3688
|
+
#
|
3689
|
+
#
|
3690
|
+
#
|
3691
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html
|
3692
|
+
#
|
3693
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3694
|
+
#
|
3695
|
+
# @example Request syntax with placeholder values
|
3696
|
+
#
|
3697
|
+
# resp = client.update_location_azure_blob({
|
3698
|
+
# location_arn: "LocationArn", # required
|
3699
|
+
# subdirectory: "AzureBlobSubdirectory",
|
3700
|
+
# authentication_type: "SAS", # accepts SAS
|
3701
|
+
# sas_configuration: {
|
3702
|
+
# token: "AzureBlobSasToken", # required
|
3703
|
+
# },
|
3704
|
+
# blob_type: "BLOCK", # accepts BLOCK
|
3705
|
+
# access_tier: "HOT", # accepts HOT, COOL, ARCHIVE
|
3706
|
+
# agent_arns: ["AgentArn"],
|
3707
|
+
# })
|
3708
|
+
#
|
3709
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationAzureBlob AWS API Documentation
|
3710
|
+
#
|
3711
|
+
# @overload update_location_azure_blob(params = {})
|
3712
|
+
# @param [Hash] params ({})
|
3713
|
+
def update_location_azure_blob(params = {}, options = {})
|
3714
|
+
req = build_request(:update_location_azure_blob, params)
|
3715
|
+
req.send_request(options)
|
3716
|
+
end
|
3717
|
+
|
3505
3718
|
# Updates some parameters of a previously created location for a Hadoop
|
3506
3719
|
# Distributed File System cluster.
|
3507
3720
|
#
|
@@ -3597,52 +3810,35 @@ module Aws::DataSync
|
|
3597
3810
|
req.send_request(options)
|
3598
3811
|
end
|
3599
3812
|
|
3600
|
-
#
|
3601
|
-
#
|
3602
|
-
#
|
3813
|
+
# Modifies some configurations of the Network File System (NFS) transfer
|
3814
|
+
# location that you're using with DataSync.
|
3815
|
+
#
|
3816
|
+
# For more information, see [Configuring transfers to or from an NFS
|
3817
|
+
# file server][1].
|
3603
3818
|
#
|
3604
3819
|
#
|
3605
3820
|
#
|
3606
3821
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html
|
3607
3822
|
#
|
3608
3823
|
# @option params [required, String] :location_arn
|
3609
|
-
#
|
3824
|
+
# Specifies the Amazon Resource Name (ARN) of the NFS transfer location
|
3825
|
+
# that you want to update.
|
3610
3826
|
#
|
3611
3827
|
# @option params [String] :subdirectory
|
3612
|
-
#
|
3613
|
-
#
|
3614
|
-
# path should be a path that's exported by the NFS server, or a
|
3615
|
-
# subdirectory of that path. The path should be such that it can be
|
3616
|
-
# mounted by other NFS clients in your network.
|
3617
|
-
#
|
3618
|
-
# To see all the paths exported by your NFS server, run "`showmount -e
|
3619
|
-
# nfs-server-name`" from an NFS client that has access to your server.
|
3620
|
-
# You can specify any directory that appears in the results, and any
|
3621
|
-
# subdirectory of that directory. Ensure that the NFS export is
|
3622
|
-
# accessible without Kerberos authentication.
|
3623
|
-
#
|
3624
|
-
# To transfer all the data in the folder that you specified, DataSync
|
3625
|
-
# must have permissions to read all the data. To ensure this, either
|
3626
|
-
# configure the NFS export with `no_root_squash`, or ensure that the
|
3627
|
-
# files you want DataSync to access have permissions that allow read
|
3628
|
-
# access for all users. Doing either option enables the agent to read
|
3629
|
-
# the files. For the agent to access directories, you must additionally
|
3630
|
-
# enable all execute access.
|
3631
|
-
#
|
3632
|
-
# If you are copying data to or from your Snowcone device, see [NFS
|
3633
|
-
# Server on Snowcone][1] for more information.
|
3828
|
+
# Specifies the export path in your NFS file server that you want
|
3829
|
+
# DataSync to mount.
|
3634
3830
|
#
|
3635
|
-
#
|
3636
|
-
#
|
3637
|
-
#
|
3831
|
+
# This path (or a subdirectory of the path) is where DataSync transfers
|
3832
|
+
# data to or from. For information on configuring an export for
|
3833
|
+
# DataSync, see [Accessing NFS file servers][1].
|
3638
3834
|
#
|
3639
3835
|
#
|
3640
3836
|
#
|
3641
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs
|
3837
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs
|
3642
3838
|
#
|
3643
3839
|
# @option params [Types::OnPremConfig] :on_prem_config
|
3644
|
-
#
|
3645
|
-
#
|
3840
|
+
# The DataSync agents that are connecting to a Network File System (NFS)
|
3841
|
+
# location.
|
3646
3842
|
#
|
3647
3843
|
# @option params [Types::NfsMountOptions] :mount_options
|
3648
3844
|
# Specifies how DataSync can access a location using the NFS protocol.
|
@@ -3841,7 +4037,8 @@ module Aws::DataSync
|
|
3841
4037
|
#
|
3842
4038
|
# @option params [Array<String>] :agent_arns
|
3843
4039
|
# Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
3844
|
-
# connects to and reads your on-premises storage system.
|
4040
|
+
# connects to and reads your on-premises storage system. You can only
|
4041
|
+
# specify one ARN.
|
3845
4042
|
#
|
3846
4043
|
# @option params [String] :name
|
3847
4044
|
# Specifies a familiar name for your on-premises storage system.
|
@@ -4053,7 +4250,7 @@ module Aws::DataSync
|
|
4053
4250
|
params: params,
|
4054
4251
|
config: config)
|
4055
4252
|
context[:gem_name] = 'aws-sdk-datasync'
|
4056
|
-
context[:gem_version] = '1.
|
4253
|
+
context[:gem_version] = '1.64.0'
|
4057
4254
|
Seahorse::Client::Request.new(handlers, context)
|
4058
4255
|
end
|
4059
4256
|
|