aws-sdk-datasync 1.61.0 → 1.63.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +328 -109
- data/lib/aws-sdk-datasync/client_api.rb +85 -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 +383 -118
- 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: 47476be9fe777713cef4cad10751a5312eeb8f190d6a891725b2cdd3de389e73
|
|
4
|
+
data.tar.gz: b6e169c01a64492b9de1195331b622d4fcf81f7a6a4d83ae4a1d01ecbcb9e355
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b18e962f3747cbf94befe830cf6d088556880455e3bc81e790275e33c103b52d1ea07385382aa7062d34fd504be5b9fc766f5c4e0fc7ffe8285f105e5e547140
|
|
7
|
+
data.tar.gz: e75ffea5c597baef2c3330e290caf49c794b7dec1815d700bdb5f97aae875542275ae728fb152a317b42470bba3c59585a4fa7d617713bd8e5b61d2846fe2c9e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.63.0 (2023-07-25)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS DataSync now supports Microsoft Azure Blob Storage locations.
|
|
8
|
+
|
|
9
|
+
1.62.0 (2023-07-13)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Added LunCount to the response object of DescribeStorageSystemResourcesResponse, LunCount represents the number of LUNs on a storage system resource.
|
|
13
|
+
|
|
4
14
|
1.61.0 (2023-07-11)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.63.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
|
|
@@ -516,87 +516,71 @@ module Aws::DataSync
|
|
|
516
516
|
req.send_request(options)
|
|
517
517
|
end
|
|
518
518
|
|
|
519
|
-
# Activates an DataSync agent that you
|
|
520
|
-
# environment. The activation process associates
|
|
521
|
-
#
|
|
522
|
-
# the Amazon Web Services Region that you want to activate the agent in.
|
|
523
|
-
# You activate the agent in the Amazon Web Services Region where your
|
|
524
|
-
# target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are
|
|
525
|
-
# created in this Amazon Web Services Region.
|
|
519
|
+
# Activates an DataSync agent that you've deployed in your storage
|
|
520
|
+
# environment. The activation process associates the agent with your
|
|
521
|
+
# Amazon Web Services account.
|
|
526
522
|
#
|
|
527
|
-
#
|
|
528
|
-
#
|
|
529
|
-
# over the public internet.
|
|
523
|
+
# If you haven't deployed an agent yet, see the following topics to
|
|
524
|
+
# learn more:
|
|
530
525
|
#
|
|
531
|
-
#
|
|
532
|
-
# multiple agents, all of them need to have status AVAILABLE for the
|
|
533
|
-
# task to run. If you use multiple agents for a source location, the
|
|
534
|
-
# status of all the agents must be AVAILABLE for the task to run.
|
|
526
|
+
# * [Agent requirements][1]
|
|
535
527
|
#
|
|
536
|
-
#
|
|
537
|
-
#
|
|
538
|
-
#
|
|
528
|
+
# * [Create an agent][2]
|
|
529
|
+
#
|
|
530
|
+
# <note markdown="1"> If you're transferring between Amazon Web Services storage services,
|
|
531
|
+
# you don't need a DataSync agent.
|
|
532
|
+
#
|
|
533
|
+
# </note>
|
|
534
|
+
#
|
|
535
|
+
#
|
|
536
|
+
#
|
|
537
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/agent-requirements.html
|
|
538
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/configure-agent.html
|
|
539
539
|
#
|
|
540
540
|
# @option params [required, String] :activation_key
|
|
541
|
-
#
|
|
542
|
-
#
|
|
543
|
-
#
|
|
544
|
-
# DataSync console.
|
|
541
|
+
# Specifies your DataSync agent's activation key. If you don't have an
|
|
542
|
+
# activation key, see [Activate your agent][1].
|
|
543
|
+
#
|
|
545
544
|
#
|
|
546
|
-
# The redirect URL returned in the response provides you the activation
|
|
547
|
-
# key for your agent in the query string parameter `activationKey`. It
|
|
548
|
-
# might also include other activation-related parameters; however, these
|
|
549
|
-
# are merely defaults. The arguments you pass to this API call determine
|
|
550
|
-
# the actual configuration of your agent.
|
|
551
545
|
#
|
|
552
|
-
#
|
|
553
|
-
# Guide.*
|
|
546
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/activate-agent.html
|
|
554
547
|
#
|
|
555
548
|
# @option params [String] :agent_name
|
|
556
|
-
#
|
|
557
|
-
#
|
|
549
|
+
# Specifies a name for your agent. You can see this name in the DataSync
|
|
550
|
+
# console.
|
|
558
551
|
#
|
|
559
552
|
# @option params [Array<Types::TagListEntry>] :tags
|
|
560
|
-
#
|
|
561
|
-
#
|
|
562
|
-
#
|
|
563
|
-
#
|
|
564
|
-
# <note markdown="1"> Valid characters for key and value are letters, spaces, and numbers
|
|
565
|
-
# representable in UTF-8 format, and the following special characters: +
|
|
566
|
-
# - = . \_ : / @.
|
|
567
|
-
#
|
|
568
|
-
# </note>
|
|
553
|
+
# Specifies labels that help you categorize, filter, and search for your
|
|
554
|
+
# Amazon Web Services resources. We recommend creating at least one tag
|
|
555
|
+
# for your agent.
|
|
569
556
|
#
|
|
570
557
|
# @option params [String] :vpc_endpoint_id
|
|
571
|
-
#
|
|
572
|
-
#
|
|
573
|
-
#
|
|
574
|
-
# [Creating a VPC Endpoint Service Configuration][1] in the Amazon VPC
|
|
575
|
-
# User Guide.
|
|
558
|
+
# Specifies the ID of the VPC endpoint that you want your agent to
|
|
559
|
+
# connect to. For example, a VPC endpoint ID looks like
|
|
560
|
+
# `vpce-01234d5aff67890e1`.
|
|
576
561
|
#
|
|
577
|
-
# VPC endpoint
|
|
562
|
+
# The VPC endpoint you use must include the DataSync service name (for
|
|
563
|
+
# example, `com.amazonaws.us-east-2.datasync`).
|
|
578
564
|
#
|
|
565
|
+
# @option params [Array<String>] :subnet_arns
|
|
566
|
+
# Specifies the ARN of the subnet where you want to run your DataSync
|
|
567
|
+
# task when using a VPC endpoint. This is the subnet where DataSync
|
|
568
|
+
# creates and manages the [network interfaces][1] for your transfer. You
|
|
569
|
+
# can only specify one ARN.
|
|
579
570
|
#
|
|
580
571
|
#
|
|
581
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html#create-endpoint-service
|
|
582
572
|
#
|
|
583
|
-
#
|
|
584
|
-
# The Amazon Resource Names (ARNs) of the subnets in which DataSync will
|
|
585
|
-
# create elastic network interfaces for each data transfer task. The
|
|
586
|
-
# agent that runs a task must be private. When you start a task that is
|
|
587
|
-
# associated with an agent created in a VPC, or one that has access to
|
|
588
|
-
# an IP address in a VPC, then the task is also private. In this case,
|
|
589
|
-
# DataSync creates four network interfaces for each task in your subnet.
|
|
590
|
-
# For a data transfer to work, the agent must be able to route to all
|
|
591
|
-
# these four network interfaces.
|
|
573
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces
|
|
592
574
|
#
|
|
593
575
|
# @option params [Array<String>] :security_group_arns
|
|
594
|
-
#
|
|
595
|
-
#
|
|
576
|
+
# Specifies the Amazon Resource Name (ARN) of the security group that
|
|
577
|
+
# protects your task's [network interfaces][1] when [using a virtual
|
|
578
|
+
# private cloud (VPC) endpoint][2]. You can only specify one ARN.
|
|
596
579
|
#
|
|
597
580
|
#
|
|
598
581
|
#
|
|
599
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/
|
|
582
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces
|
|
583
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html#choose-service-endpoint-vpc
|
|
600
584
|
#
|
|
601
585
|
# @return [Types::CreateAgentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
602
586
|
#
|
|
@@ -631,6 +615,110 @@ module Aws::DataSync
|
|
|
631
615
|
req.send_request(options)
|
|
632
616
|
end
|
|
633
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
|
+
|
|
634
722
|
# Creates an endpoint for an Amazon EFS file system that DataSync can
|
|
635
723
|
# access for a transfer. For more information, see [Creating a location
|
|
636
724
|
# for Amazon EFS][1].
|
|
@@ -981,12 +1069,15 @@ module Aws::DataSync
|
|
|
981
1069
|
# tag for your location.
|
|
982
1070
|
#
|
|
983
1071
|
# @option params [required, String] :user
|
|
984
|
-
# Specifies the user who has the permissions to access files
|
|
985
|
-
# in
|
|
1072
|
+
# Specifies the user who has the permissions to access files, folders,
|
|
1073
|
+
# and metadata in your file system.
|
|
1074
|
+
#
|
|
1075
|
+
# For information about choosing a user with sufficient permissions, see
|
|
1076
|
+
# [Required permissions][1].
|
|
986
1077
|
#
|
|
987
|
-
#
|
|
988
|
-
#
|
|
989
|
-
# [
|
|
1078
|
+
#
|
|
1079
|
+
#
|
|
1080
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions
|
|
990
1081
|
#
|
|
991
1082
|
# @option params [String] :domain
|
|
992
1083
|
# Specifies the name of the Windows domain that the FSx for Windows File
|
|
@@ -1165,15 +1256,14 @@ module Aws::DataSync
|
|
|
1165
1256
|
req.send_request(options)
|
|
1166
1257
|
end
|
|
1167
1258
|
|
|
1168
|
-
#
|
|
1169
|
-
#
|
|
1259
|
+
# Creates an endpoint for an Network File System (NFS) file server that
|
|
1260
|
+
# DataSync can use for a data transfer.
|
|
1170
1261
|
#
|
|
1171
1262
|
# @option params [required, String] :subdirectory
|
|
1172
|
-
#
|
|
1173
|
-
#
|
|
1174
|
-
#
|
|
1175
|
-
#
|
|
1176
|
-
# mounted by other NFS clients in your network.
|
|
1263
|
+
# Specifies the subdirectory in the NFS file server that DataSync
|
|
1264
|
+
# transfers to or from. The NFS path should be a path that's exported
|
|
1265
|
+
# by the NFS server, or a subdirectory of that path. The path should be
|
|
1266
|
+
# such that it can be mounted by other NFS clients in your network.
|
|
1177
1267
|
#
|
|
1178
1268
|
# To see all the paths exported by your NFS server, run "`showmount -e
|
|
1179
1269
|
# nfs-server-name`" from an NFS client that has access to your server.
|
|
@@ -1192,24 +1282,20 @@ module Aws::DataSync
|
|
|
1192
1282
|
# If you are copying data to or from your Snowcone device, see [NFS
|
|
1193
1283
|
# Server on Snowcone][1] for more information.
|
|
1194
1284
|
#
|
|
1195
|
-
# For information about NFS export configuration, see 18.7. The
|
|
1196
|
-
# /etc/exports Configuration File in the Red Hat Enterprise Linux
|
|
1197
|
-
# documentation.
|
|
1198
|
-
#
|
|
1199
1285
|
#
|
|
1200
1286
|
#
|
|
1201
1287
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
|
1202
1288
|
#
|
|
1203
1289
|
# @option params [required, String] :server_hostname
|
|
1204
|
-
#
|
|
1205
|
-
#
|
|
1206
|
-
#
|
|
1290
|
+
# Specifies the IP address or domain name of your NFS file server. An
|
|
1291
|
+
# agent that is installed on-premises uses this hostname to mount the
|
|
1292
|
+
# NFS server in a network.
|
|
1207
1293
|
#
|
|
1208
1294
|
# If you are copying data to or from your Snowcone device, see [NFS
|
|
1209
1295
|
# Server on Snowcone][1] for more information.
|
|
1210
1296
|
#
|
|
1211
|
-
# <note markdown="1">
|
|
1212
|
-
# (
|
|
1297
|
+
# <note markdown="1"> You must specify be an IP version 4 address or Domain Name System
|
|
1298
|
+
# (DNS)-compliant name.
|
|
1213
1299
|
#
|
|
1214
1300
|
# </note>
|
|
1215
1301
|
#
|
|
@@ -1218,8 +1304,8 @@ module Aws::DataSync
|
|
|
1218
1304
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
|
1219
1305
|
#
|
|
1220
1306
|
# @option params [required, Types::OnPremConfig] :on_prem_config
|
|
1221
|
-
#
|
|
1222
|
-
#
|
|
1307
|
+
# Specifies the Amazon Resource Names (ARNs) of agents that DataSync
|
|
1308
|
+
# uses to connect to your NFS file server.
|
|
1223
1309
|
#
|
|
1224
1310
|
# If you are copying data to or from your Snowcone device, see [NFS
|
|
1225
1311
|
# Server on Snowcone][1] for more information.
|
|
@@ -1229,12 +1315,13 @@ module Aws::DataSync
|
|
|
1229
1315
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
|
1230
1316
|
#
|
|
1231
1317
|
# @option params [Types::NfsMountOptions] :mount_options
|
|
1232
|
-
#
|
|
1318
|
+
# Specifies the mount options that DataSync can use to mount your NFS
|
|
1319
|
+
# share.
|
|
1233
1320
|
#
|
|
1234
1321
|
# @option params [Array<Types::TagListEntry>] :tags
|
|
1235
|
-
#
|
|
1236
|
-
#
|
|
1237
|
-
#
|
|
1322
|
+
# Specifies labels that help you categorize, filter, and search for your
|
|
1323
|
+
# Amazon Web Services resources. We recommend creating at least a name
|
|
1324
|
+
# tag for your location.
|
|
1238
1325
|
#
|
|
1239
1326
|
# @return [Types::CreateLocationNfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1240
1327
|
#
|
|
@@ -1321,11 +1408,20 @@ module Aws::DataSync
|
|
|
1321
1408
|
# your resources. We recommend creating a name tag for your location.
|
|
1322
1409
|
#
|
|
1323
1410
|
# @option params [String, StringIO, File] :server_certificate
|
|
1324
|
-
# Specifies a
|
|
1325
|
-
#
|
|
1326
|
-
#
|
|
1327
|
-
#
|
|
1328
|
-
#
|
|
1411
|
+
# Specifies a file with the certificates that are used to sign the
|
|
1412
|
+
# object storage server's certificate (for example,
|
|
1413
|
+
# `file:///home/user/.ssh/storage_sys_certificate.pem`). The file you
|
|
1414
|
+
# specify must include the following:
|
|
1415
|
+
#
|
|
1416
|
+
# * The certificate of the signing certificate authority (CA)
|
|
1417
|
+
#
|
|
1418
|
+
# * Any intermediate certificates
|
|
1419
|
+
#
|
|
1420
|
+
# * base64 encoding
|
|
1421
|
+
#
|
|
1422
|
+
# * A `.pem` extension
|
|
1423
|
+
#
|
|
1424
|
+
# The file can be up to 32768 bytes (before base64 encoding).
|
|
1329
1425
|
#
|
|
1330
1426
|
# To use this parameter, configure `ServerProtocol` to `HTTPS`.
|
|
1331
1427
|
#
|
|
@@ -1469,8 +1565,10 @@ module Aws::DataSync
|
|
|
1469
1565
|
end
|
|
1470
1566
|
|
|
1471
1567
|
# Creates an endpoint for a Server Message Block (SMB) file server that
|
|
1472
|
-
# DataSync can
|
|
1473
|
-
#
|
|
1568
|
+
# DataSync can use for a data transfer.
|
|
1569
|
+
#
|
|
1570
|
+
# Before you begin, make sure that you understand how DataSync [accesses
|
|
1571
|
+
# an SMB file server][1].
|
|
1474
1572
|
#
|
|
1475
1573
|
#
|
|
1476
1574
|
#
|
|
@@ -1881,6 +1979,49 @@ module Aws::DataSync
|
|
|
1881
1979
|
req.send_request(options)
|
|
1882
1980
|
end
|
|
1883
1981
|
|
|
1982
|
+
# Provides details about how an DataSync transfer location for Microsoft
|
|
1983
|
+
# Azure Blob Storage is configured.
|
|
1984
|
+
#
|
|
1985
|
+
# @option params [required, String] :location_arn
|
|
1986
|
+
# Specifies the Amazon Resource Name (ARN) of your Azure Blob Storage
|
|
1987
|
+
# transfer location.
|
|
1988
|
+
#
|
|
1989
|
+
# @return [Types::DescribeLocationAzureBlobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1990
|
+
#
|
|
1991
|
+
# * {Types::DescribeLocationAzureBlobResponse#location_arn #location_arn} => String
|
|
1992
|
+
# * {Types::DescribeLocationAzureBlobResponse#location_uri #location_uri} => String
|
|
1993
|
+
# * {Types::DescribeLocationAzureBlobResponse#authentication_type #authentication_type} => String
|
|
1994
|
+
# * {Types::DescribeLocationAzureBlobResponse#blob_type #blob_type} => String
|
|
1995
|
+
# * {Types::DescribeLocationAzureBlobResponse#access_tier #access_tier} => String
|
|
1996
|
+
# * {Types::DescribeLocationAzureBlobResponse#agent_arns #agent_arns} => Array<String>
|
|
1997
|
+
# * {Types::DescribeLocationAzureBlobResponse#creation_time #creation_time} => Time
|
|
1998
|
+
#
|
|
1999
|
+
# @example Request syntax with placeholder values
|
|
2000
|
+
#
|
|
2001
|
+
# resp = client.describe_location_azure_blob({
|
|
2002
|
+
# location_arn: "LocationArn", # required
|
|
2003
|
+
# })
|
|
2004
|
+
#
|
|
2005
|
+
# @example Response structure
|
|
2006
|
+
#
|
|
2007
|
+
# resp.location_arn #=> String
|
|
2008
|
+
# resp.location_uri #=> String
|
|
2009
|
+
# resp.authentication_type #=> String, one of "SAS"
|
|
2010
|
+
# resp.blob_type #=> String, one of "BLOCK"
|
|
2011
|
+
# resp.access_tier #=> String, one of "HOT", "COOL", "ARCHIVE"
|
|
2012
|
+
# resp.agent_arns #=> Array
|
|
2013
|
+
# resp.agent_arns[0] #=> String
|
|
2014
|
+
# resp.creation_time #=> Time
|
|
2015
|
+
#
|
|
2016
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationAzureBlob AWS API Documentation
|
|
2017
|
+
#
|
|
2018
|
+
# @overload describe_location_azure_blob(params = {})
|
|
2019
|
+
# @param [Hash] params ({})
|
|
2020
|
+
def describe_location_azure_blob(params = {}, options = {})
|
|
2021
|
+
req = build_request(:describe_location_azure_blob, params)
|
|
2022
|
+
req.send_request(options)
|
|
2023
|
+
end
|
|
2024
|
+
|
|
1884
2025
|
# Returns metadata about your DataSync location for an Amazon EFS file
|
|
1885
2026
|
# system.
|
|
1886
2027
|
#
|
|
@@ -2537,6 +2678,7 @@ module Aws::DataSync
|
|
|
2537
2678
|
# resp.resource_details.net_app_ontapsv_ms[0].nfs_exported_volumes #=> Integer
|
|
2538
2679
|
# resp.resource_details.net_app_ontapsv_ms[0].recommendation_status #=> String, one of "NONE", "IN_PROGRESS", "COMPLETED", "FAILED"
|
|
2539
2680
|
# resp.resource_details.net_app_ontapsv_ms[0].total_snapshot_capacity_used #=> Integer
|
|
2681
|
+
# resp.resource_details.net_app_ontapsv_ms[0].lun_count #=> Integer
|
|
2540
2682
|
# resp.resource_details.net_app_ontap_volumes #=> Array
|
|
2541
2683
|
# resp.resource_details.net_app_ontap_volumes[0].volume_name #=> String
|
|
2542
2684
|
# resp.resource_details.net_app_ontap_volumes[0].resource_id #=> String
|
|
@@ -2566,6 +2708,7 @@ module Aws::DataSync
|
|
|
2566
2708
|
# resp.resource_details.net_app_ontap_volumes[0].recommendations[0].storage_configuration["PtolemyString"] #=> String
|
|
2567
2709
|
# resp.resource_details.net_app_ontap_volumes[0].recommendations[0].estimated_monthly_storage_cost #=> String
|
|
2568
2710
|
# resp.resource_details.net_app_ontap_volumes[0].recommendation_status #=> String, one of "NONE", "IN_PROGRESS", "COMPLETED", "FAILED"
|
|
2711
|
+
# resp.resource_details.net_app_ontap_volumes[0].lun_count #=> Integer
|
|
2569
2712
|
# resp.resource_details.net_app_ontap_clusters #=> Array
|
|
2570
2713
|
# resp.resource_details.net_app_ontap_clusters[0].cifs_share_count #=> Integer
|
|
2571
2714
|
# resp.resource_details.net_app_ontap_clusters[0].nfs_exported_volumes #=> Integer
|
|
@@ -2591,6 +2734,7 @@ module Aws::DataSync
|
|
|
2591
2734
|
# resp.resource_details.net_app_ontap_clusters[0].recommendations[0].storage_configuration["PtolemyString"] #=> String
|
|
2592
2735
|
# resp.resource_details.net_app_ontap_clusters[0].recommendations[0].estimated_monthly_storage_cost #=> String
|
|
2593
2736
|
# resp.resource_details.net_app_ontap_clusters[0].recommendation_status #=> String, one of "NONE", "IN_PROGRESS", "COMPLETED", "FAILED"
|
|
2737
|
+
# resp.resource_details.net_app_ontap_clusters[0].lun_count #=> Integer
|
|
2594
2738
|
# resp.next_token #=> String
|
|
2595
2739
|
#
|
|
2596
2740
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeStorageSystemResources AWS API Documentation
|
|
@@ -2602,10 +2746,10 @@ module Aws::DataSync
|
|
|
2602
2746
|
req.send_request(options)
|
|
2603
2747
|
end
|
|
2604
2748
|
|
|
2605
|
-
#
|
|
2749
|
+
# Provides information about an DataSync transfer task.
|
|
2606
2750
|
#
|
|
2607
2751
|
# @option params [required, String] :task_arn
|
|
2608
|
-
#
|
|
2752
|
+
# Specifies the Amazon Resource Name (ARN) of the transfer task.
|
|
2609
2753
|
#
|
|
2610
2754
|
# @return [Types::DescribeTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2611
2755
|
#
|
|
@@ -2680,10 +2824,11 @@ module Aws::DataSync
|
|
|
2680
2824
|
req.send_request(options)
|
|
2681
2825
|
end
|
|
2682
2826
|
|
|
2683
|
-
#
|
|
2827
|
+
# Provides information about an DataSync transfer task that's running.
|
|
2684
2828
|
#
|
|
2685
2829
|
# @option params [required, String] :task_execution_arn
|
|
2686
|
-
#
|
|
2830
|
+
# Specifies the Amazon Resource Name (ARN) of the transfer task that's
|
|
2831
|
+
# running.
|
|
2687
2832
|
#
|
|
2688
2833
|
# @return [Types::DescribeTaskExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2689
2834
|
#
|
|
@@ -3504,6 +3649,82 @@ module Aws::DataSync
|
|
|
3504
3649
|
req.send_request(options)
|
|
3505
3650
|
end
|
|
3506
3651
|
|
|
3652
|
+
# Modifies some configurations of the Microsoft Azure Blob Storage
|
|
3653
|
+
# transfer location that you're using with DataSync.
|
|
3654
|
+
#
|
|
3655
|
+
# @option params [required, String] :location_arn
|
|
3656
|
+
# Specifies the ARN of the Azure Blob Storage transfer location that
|
|
3657
|
+
# you're updating.
|
|
3658
|
+
#
|
|
3659
|
+
# @option params [String] :subdirectory
|
|
3660
|
+
# Specifies path segments if you want to limit your transfer to a
|
|
3661
|
+
# virtual directory in your container (for example, `/my/images`).
|
|
3662
|
+
#
|
|
3663
|
+
# @option params [String] :authentication_type
|
|
3664
|
+
# Specifies the authentication method DataSync uses to access your Azure
|
|
3665
|
+
# Blob Storage. DataSync can access blob storage using a shared access
|
|
3666
|
+
# signature (SAS).
|
|
3667
|
+
#
|
|
3668
|
+
# @option params [Types::AzureBlobSasConfiguration] :sas_configuration
|
|
3669
|
+
# Specifies the SAS configuration that allows DataSync to access your
|
|
3670
|
+
# Azure Blob Storage.
|
|
3671
|
+
#
|
|
3672
|
+
# @option params [String] :blob_type
|
|
3673
|
+
# Specifies the type of blob that you want your objects or files to be
|
|
3674
|
+
# when transferring them into Azure Blob Storage. Currently, DataSync
|
|
3675
|
+
# only supports moving data into Azure Blob Storage as block blobs. For
|
|
3676
|
+
# more information on blob types, see the [Azure Blob Storage
|
|
3677
|
+
# documentation][1].
|
|
3678
|
+
#
|
|
3679
|
+
#
|
|
3680
|
+
#
|
|
3681
|
+
# [1]: https://learn.microsoft.com/en-us/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs
|
|
3682
|
+
#
|
|
3683
|
+
# @option params [String] :access_tier
|
|
3684
|
+
# Specifies the access tier that you want your objects or files
|
|
3685
|
+
# transferred into. This only applies when using the location as a
|
|
3686
|
+
# transfer destination. For more information, see [Access tiers][1].
|
|
3687
|
+
#
|
|
3688
|
+
#
|
|
3689
|
+
#
|
|
3690
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers
|
|
3691
|
+
#
|
|
3692
|
+
# @option params [Array<String>] :agent_arns
|
|
3693
|
+
# Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
|
3694
|
+
# can connect with your Azure Blob Storage container.
|
|
3695
|
+
#
|
|
3696
|
+
# You can specify more than one agent. For more information, see [Using
|
|
3697
|
+
# multiple agents for your transfer][1].
|
|
3698
|
+
#
|
|
3699
|
+
#
|
|
3700
|
+
#
|
|
3701
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html
|
|
3702
|
+
#
|
|
3703
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3704
|
+
#
|
|
3705
|
+
# @example Request syntax with placeholder values
|
|
3706
|
+
#
|
|
3707
|
+
# resp = client.update_location_azure_blob({
|
|
3708
|
+
# location_arn: "LocationArn", # required
|
|
3709
|
+
# subdirectory: "AzureBlobSubdirectory",
|
|
3710
|
+
# authentication_type: "SAS", # accepts SAS
|
|
3711
|
+
# sas_configuration: {
|
|
3712
|
+
# token: "AzureBlobSasToken", # required
|
|
3713
|
+
# },
|
|
3714
|
+
# blob_type: "BLOCK", # accepts BLOCK
|
|
3715
|
+
# access_tier: "HOT", # accepts HOT, COOL, ARCHIVE
|
|
3716
|
+
# agent_arns: ["AgentArn"],
|
|
3717
|
+
# })
|
|
3718
|
+
#
|
|
3719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationAzureBlob AWS API Documentation
|
|
3720
|
+
#
|
|
3721
|
+
# @overload update_location_azure_blob(params = {})
|
|
3722
|
+
# @param [Hash] params ({})
|
|
3723
|
+
def update_location_azure_blob(params = {}, options = {})
|
|
3724
|
+
req = build_request(:update_location_azure_blob, params)
|
|
3725
|
+
req.send_request(options)
|
|
3726
|
+
end
|
|
3727
|
+
|
|
3507
3728
|
# Updates some parameters of a previously created location for a Hadoop
|
|
3508
3729
|
# Distributed File System cluster.
|
|
3509
3730
|
#
|
|
@@ -3608,14 +3829,15 @@ module Aws::DataSync
|
|
|
3608
3829
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html
|
|
3609
3830
|
#
|
|
3610
3831
|
# @option params [required, String] :location_arn
|
|
3611
|
-
#
|
|
3832
|
+
# Specifies the Amazon Resource Name (ARN) of the NFS location that you
|
|
3833
|
+
# want to update.
|
|
3612
3834
|
#
|
|
3613
3835
|
# @option params [String] :subdirectory
|
|
3614
|
-
#
|
|
3615
|
-
#
|
|
3616
|
-
#
|
|
3617
|
-
#
|
|
3618
|
-
#
|
|
3836
|
+
# Specifies the subdirectory in your NFS file system that DataSync uses
|
|
3837
|
+
# to read from or write to during a transfer. The NFS path should be
|
|
3838
|
+
# exported by the NFS server, or a subdirectory of that path. The path
|
|
3839
|
+
# should be such that it can be mounted by other NFS clients in your
|
|
3840
|
+
# network.
|
|
3619
3841
|
#
|
|
3620
3842
|
# To see all the paths exported by your NFS server, run "`showmount -e
|
|
3621
3843
|
# nfs-server-name`" from an NFS client that has access to your server.
|
|
@@ -3634,10 +3856,6 @@ module Aws::DataSync
|
|
|
3634
3856
|
# If you are copying data to or from your Snowcone device, see [NFS
|
|
3635
3857
|
# Server on Snowcone][1] for more information.
|
|
3636
3858
|
#
|
|
3637
|
-
# For information about NFS export configuration, see 18.7. The
|
|
3638
|
-
# /etc/exports Configuration File in the Red Hat Enterprise Linux
|
|
3639
|
-
# documentation.
|
|
3640
|
-
#
|
|
3641
3859
|
#
|
|
3642
3860
|
#
|
|
3643
3861
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
|
@@ -3843,7 +4061,8 @@ module Aws::DataSync
|
|
|
3843
4061
|
#
|
|
3844
4062
|
# @option params [Array<String>] :agent_arns
|
|
3845
4063
|
# Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
|
3846
|
-
# connects to and reads your on-premises storage system.
|
|
4064
|
+
# connects to and reads your on-premises storage system. You can only
|
|
4065
|
+
# specify one ARN.
|
|
3847
4066
|
#
|
|
3848
4067
|
# @option params [String] :name
|
|
3849
4068
|
# Specifies a familiar name for your on-premises storage system.
|
|
@@ -4055,7 +4274,7 @@ module Aws::DataSync
|
|
|
4055
4274
|
params: params,
|
|
4056
4275
|
config: config)
|
|
4057
4276
|
context[:gem_name] = 'aws-sdk-datasync'
|
|
4058
|
-
context[:gem_version] = '1.
|
|
4277
|
+
context[:gem_version] = '1.63.0'
|
|
4059
4278
|
Seahorse::Client::Request.new(handlers, context)
|
|
4060
4279
|
end
|
|
4061
4280
|
|